Using timber logs of lengths L_i (i = 1..N), it is necessary to construct rafts with logs of equal length. Find the maximum possible length of the rafts.
The first line provides the values of and , and the second line provides the elements of the array .
The value of .
All numbers are positive integers and do not exceed .
Example 1