Problem2124--找最小值

2124: 找最小值

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

Description

给出 $n$ 和 $n$ 个整数 $a_i$,求这 $n$ 个整数中最小值是什么。

Input

第一行输入一个正整数 $n$,表示数字个数。

第二行输入 $n$ 个非负整数,表示 $a_1,a_2 \dots a_n$,以空格隔开。
数据保证,$n\le100$ 且 $0\le a_i \le 1000$。

Output

输出一个非负整数,表示这 $n$ 个非负整数中的最小值。

Sample Input Copy

8
1 9 2 6 0 8 1 7

Sample Output Copy

0

Source/Category

admin