#h23. 找最大值

找最大值

Description

输入一行正整数,找出其中的最大值。

Input

输入一行正整数,检测到输入数字是-1时停止输入

Output

输出一个整数表示最大的整数。

Samples

1 2 3 4 5 3 8 4 2 -1
8