Problem1061--打擂台-求最小值

1061: 打擂台-求最小值

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 2776  Solved: 1395
[Status] [Submit] [Creator:]

Description

输入n个正整数,求这n个数中的最小值。

Input

输入为两行。
第一行为n,表示整数序列的长度(n<=1000)。
第二行为输入的n个正整数,每两个数之间用一个空格隔开。

Output

仅一个数,为n个数中的最小值。

Sample Input Copy

10
 5 7 9 4 23 7 45 2 9 88

Sample Output Copy

2

HINT

n<=1000

Source/Category

 入门