Accept a sequence of positive integers as input and print the maximum number in the sequence.
Input
The input will have n + 1 lines, where n denotes the number of terms in the
sequence. The i-th line of the input contains the i-th term of the sequence. The
last line of the input will always be the number 0, which marks the end of the
input and is not a part of the sequence. Every sequence has at least one term.
Output
A single integer: the largest term in the sequence.
For example, for the input lines 5, 3, 9, 1, 0 the output is 9.
Write a complete program: read the input with input() and print the result with print().
Input
5
3
9
1
0
Output
9