Quentin continued to skip school—not because he did not want to study, but simply because no one had ever invited him...
Now, Quentin has set out to learn about fractions on his own, though his approach differs significantly from the traditional school method. He began by exploring decimal fractions, since no one has yet explained to him what ordinary fractions are.
Once again, Quentin encountered a problem similar to a previous one: to determine the line number in which the largest number appears for the first time. However, this time the data may contain both integers and decimal fractions.
The input consists of a jumble of numbers, possibly separated by spaces, tab characters, and/or line breaks. As before, Quentin finds some solace in the fact that all numbers in this jumble do not exceed 2 \times 10^9 in absolute value.
Print two numbers: first, the line number in which the largest number appears for the first time, and second (separated by a space), print this number exactly as Quentin saw it.
Example 1