13107 - 求n个整数的最小值

求n个整数的最小值(1 <= n <= 100)。

Input

两行:

第1行为n,表示输入整数的个数;

第2行为n个整数,整数间使用空格隔开

Output

n个整数中的最小数

Examples

Input

5
2 3 8 5 7

Output

2
Time Limit 1 second
Memory Limit 128 MB
Discuss 题解 Stats
上一题 下一题