Олимпиадный тренинг

Задача 28325. The maximum number in the sequence


Задача

Темы: Цикл for
Enter the number N and then N numbers, one per line
It is necessary to outpur the maximum number among all the numbers entered.

Input: 
in the first line the number N is entered - the number of numbers (N <= 100)
then one by one in the line there are N numbers (all numbers are integers not exceeding 10,000 in absolute value)

Output: 
output the maximum number of all N numbers.

Examples
Input Output
1 5
0
1
2
3
4
4

Запрещенные операторы:max;min;[;sort