There is alarm at Summer Computer School! The minimum is lost. Your task is to find it.
The first line contains an integer n~(1 \le n \le 1000). The second line contains integers, each does not exceed 10^5 in absolute value.
Print the smallest of the given integers.
Shembulli 1
Shembulli 2