#P309. 练52.1 输出成绩
练52.1 输出成绩
Description
Given the math scores of children, calculate their average score and output all scores that are above the average (in the order they were input).
Input Format
The first line contains an integer , followed by lines, each containing an integer less than or equal to ().
Output Format
The first line contains the average of the scores, rounded to decimal places.
The following lines contain the scores that are above the average, one score per line.
Sample
5
10
20
30
40
6032.000
40
60
Related
In following homework: