eolymp
bolt
Try our new interface for solving problems
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.
Time limit 1 second
Memory limit 128 MiB
Input example #1
1
2
Output example #1
2
Input example #2
4
5 8 -4 6
Output example #2
-4