Vasya is learning fractions
Human is like a fraction, the numerator is what they are,
and the denominator is what they think of themselves.
The larger the denominator, the smaller the fraction.
L.N. Tolstoy
Vasya continued to skip school, not because he lacked the desire to learn, but simply because no one had ever invited him...
Now, Vasya has taken it upon himself to learn about fractions, but his approach is quite different from the traditional school method. He began by understanding fractions through decimals, as he hasn't yet been introduced to the concept of ordinary fractions.
Once again, he encountered a problem similar to a previous one: finding the line number where the largest number appears for the first time. However, this time, the data he is working with may include both whole numbers and decimal fractions.
Input Data
The input consists of a jumble of numbers, possibly separated by spaces, tab characters, and/or line breaks. Vasya has one reassurance: all numbers in this jumble do not exceed an absolute value of 2 * 10^9
.
Output Data
Output two numbers: first, the line number where the largest number appears for the first time, and then, separated by a space, the number itself as Vasya saw it.