Vasya is learning to count#5501

Vasya is learning to count

1 second
8 megabytes
Easy

Robot Vasya, unfortunately, did not attend school, so he learned to count on his own by trial and error—a method often humorously referred to by programming students as the scientific poking method.

Now Vasya faces the task of finding the largest number in a set of data and the line number where it first appears. Since Vasya does not yet know how to do this, you need to solve the problem for him.

Input

The input consists of a collection of integers, possibly separated by spaces, tab characters, and/or newlines. The only guarantee is that the largest number in this collection will not exceed, in absolute value, 2 \cdot 10^9.

Output

Output two numbers: first, the largest number among those read by Vasya, and second, the line number where this number appears for the first time. If there are no numbers present in the input, output nothing.

Examples

Example 1

Loading
Loading