D. 练52.1 输出成绩

    Type: Default 1000ms 64MiB

练52.1 输出成绩

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

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

20230913C班作业(1)

Not Claimed
Status
Done
Problem
6
Open Since
2025-9-13 0:00
Deadline
2025-9-21 23:59
Extension
24 hour(s)