2737: CTK13 最小的数

Memory Limit:256 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

输入一个有n个无重复元素的整数数组a,输出数组中最小的数。 提示: 如使用排序库函数sort(),需要包含头文件#include

Input

[md] 第一行一个正整数n(2<=n<=20); 第二行n个不重复的整数a[i](0<=a[i]<=100),相邻两个整数之间用空格隔开。 [/md]

Output

一个整数,为数组a中最小的数。

Sample Input Copy

5
4 5 1 3 8

Sample Output Copy

1

HINT