Company: Auxia_22july
Difficulty: medium
Challenge 4b Problem Description Natasha is planning an expedition to Mars for n people. One of the important tasks is to provide food for each participant. The warehouse has m daily food packages. Each package has some food type a i . Each participant must eat exactly one food package each day. Due to extreme loads, each participant must eat the same food type throughout the expedition, different participants may eat different (or the same) types of food. Formally, for each participant j Natasha should select his food type b j and each day j-th participant will eat one food package of type b j . The values b j for different participants may be different. What is the maximum possible number of days the expedition can last, following the requirements above? Input Input: An integer array The first element of the array has n - the number of the expedition participants. The second element of the array has m - the number of the daily food packages available. The rest of the array has m elem