1053: n个数中的最大值

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:3 Solved:3

Description

首先输入整数n,然后输入n个整数,要求输出其中最大值。

Input

两行,第1行一个整数n,第2行输入n个整数,空格分隔

Output

输出n个整数中的最大值

Sample Input Copy

3
10 15 6

Sample Output Copy

15