Raft#117

Raft

1 second
64 megabytes
Very easy

Using wooden logs of lengths L_i (i = 1 \ldots N), you are to construct a raft consisting of beams of equal length. What is the maximum possible length that each beam can have?

Input

The first line contains and . The second line contains the elements of the array .

Output

Output the value of .

All values are natural numbers and do not exceed .

Examples

Example 1

Loading
Loading