#P2407. 签到+1s

签到+1s

求最大值(多组输入输出)

Input


Output

Sample Input

5
1 2 3 4 5

Sample Output

5

HINT

Source