Sample Problem
The Maximum Integer

Your job is to write a program that finds the maximum integers given in the input.

Input

The input is a sequence of one or more integer numbers separated by newlines. All the integer numbers are positive and less than or equal to 10,000.

The end of the input is indicated by a zero.

Output

The maximum integer of the integers should be printed in a line. No other characters (e.g. white spaces) are allowed.

Sample Input

10
100
35
0

Output for the Sample Input

100