1058: 求最大数max

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

Description

读入n及n个1000以内的整数,输出其中最大的数。


Input

输入为两行
第一行为数据个数n
第二行为n个实际的个数,中间用空格隔开

Output

输出一个数

Sample Input Copy

5
11 92 43 22 65

Sample Output Copy

92

HINT

数据规模 1<= n <=100

Source/Category