#P309. 练52.1 输出成绩

练52.1 输出成绩

Description

Given the math scores of nn 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 nn, followed by nn lines, each containing an integer less than or equal to 100100 (n1000n\le 1000).

Output Format

The first line contains the average of the nn scores, rounded to 33 decimal places.
The following lines contain the scores that are above the average, one score per line.

Sample

5
10
20
30
40
60
32.000
40
60