Find Minimum#5328

Find Minimum

1 second
128 megabytes
Very easy (≈850)

There is alarm at Summer Computer School! The minimum is lost. Your task is to find it.

Input

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.

Output

Print the smallest of the given integers.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading