#1012. 找最小值

找最小值

Background

Special for beginners, ^_^

Description

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

Format

Input

第一行输入一个正整数 n,表示数字个数。 第二行输入 n 个非负整数,表示 a1,a2……an,以空格隔开。

Output

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

Samples

8
1 9 2 6 0 8 1 7
0

Limitation

1s, 1024KiB for each test case.