Problem IX: 求n个数中的最小数

Problem IX: 求n个数中的最小数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

SubmitProblemList

Description

寻找n个整数中的最小数,并输出

Input

输入两行,第一行为n,第二行为n个整数(0<n<=1000),中间用空格分隔

Output

输出一行,这n个数中最小的那个数

Sample Input Copy

7
8 6 7 5 4 9 7

Sample Output Copy

4