Competitions

# Beginners contest: Loops - 2

# Find Minimum

Alarm in Summer Computer School! Minimum is lost. You must find it.

#### Input

The first line contains number **n** (**1** ≤ **n** ≤ **1000**). In the second line **n** integers are given, each of them is no more than `10`

by absolute value.^{5}

#### Output

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