n teams arrived to Programming Competition, each team consists of
Ai (1 ≤ i ≤ n) participants. For competition the classes were prepared with the same number m of computers in each one. Find the minimum number of classes required for competition so that each class will contain participants from different teams only. That is, in any class cannot be more than one participant from one team.
The first line contains the numbers n and m. The second line contains n integers
Ai (1 ≤ i ≤ n). All numbers are nonnegative and do not exceed 100.
Print one number - the minimum required amount of classes.
5 3 2 3 4 1 2