import math


def calculate_min_number_of_parcels(n_jobs, config):
    """
    Estimate the minimum number of parcels necessary such that the time per parcel would not
    exceed the maximum time per job recommended by the team
    :param n_jobs: number of total jobs to be submitted by you greedy user
    :return: minimum number of array parcels to divide things into
    """
    # assumption: divide ids in equal numbers of packets, such that no list is longer than 23 hours
    max_job_time_secs = config["max_job_time"].total_seconds()
    total_time = n_jobs * config["job_time"].total_seconds()
    return math.ceil(total_time / max_job_time_secs)