Problems
Find Minimum
Find Minimum
Alarm in Summer Computer School! Minimum is lost. You must find it.
\InputFile
The first line contains number $n~(1 \le n \le 1000)$. In the second line $n$ integers are given, each of them is no more than $10^5$ by absolute value.
\OutputFile
Print the minimum among the $n$ given numbers.
Input example #1
1 2
Output example #1
2
Input example #2
4 5 8 -4 6
Output example #2
-4