#K68862. Highest Average Score
Highest Average Score
Highest Average Score
You are given scores in three subjects: Math, Science, and English for a number of students. Compute the average score for each student using the formula:
\( \text{average} = \frac{score_{math} + score_{science} + score_{english}}{3} \)
Output the name of the student with the highest average and the average score rounded to two decimal places. In case of a tie, choose the student who appears first in the input.
inputFormat
The first line of input contains an integer \( n \) representing the number of students. Each of the next \( n \) lines contains a student's name (a string without spaces) followed by three integers representing the scores in Math, Science, and English, respectively.
outputFormat
Print a single line containing the name of the student with the highest average followed by their average score rounded to two decimal places. The name and the average must be separated by a space.
## sample3
Alice 90 80 70
Bob 85 90 95
Charlie 100 90 80
Bob 90.00