Vasya is learning to count
Robot Vasya's Counting Challenge
Robot Vasya, who unfortunately missed out on formal education, learned to count through trial and error, a method often humorously referred to by programming students as the method of scientific poking.
Vasya now faces the task of identifying the line number where the largest number first appears in a given set of data. Since Vasya is unsure how to accomplish this, it's up to you to solve the problem for him.
Input Data
You will receive a collection of integers, which may be separated by spaces, tab characters, and/or newlines. The only assurance is that the largest number in this collection will not exceed an absolute value of 2 · 10^9.
Output Data
Your task is to output two numbers: first, the largest number found in the input, and second, the line number where this number first appears. If there is no largest number present, then no output should be provided.