Олимпиадный тренинг

Задача 33237. Average score in subjects - 2


Find the average score of all students in each subject.
 
Input
The first line specifies the number of students n (\(0 < n <=100\)). Followed by n lines, each of which contains the last name, first name and three numbers (grades in three subjects: mathematics, physics, computer science). The data in a line is separated by a single space. Grades take values ​​from 1 to 5.
 
Output
Print three real numbers, separating them with one space: the average score of all students in mathematics, physics, computer science.
 
Examples
# Input Output
1
2
Markov Valeriy 4 5 2
Kozlov Georgiy 5 1 2
4.5 3 2