#CCBCHBAHAI0000154. Trên mức trung bình (Above Average)
Trên mức trung bình (Above Average)
Above Average
Source: Kattis
Version: Phuoc Hung OJ Extended
Problem Statement
A class has students with integer grades . The class average is
Let be the number of students whose grade is strictly greater than . Compute
Input
- The first line contains an integer .
- The second line contains integers .
Output
Print with exactly 3 digits after the decimal point, immediately followed by %.
Subtasks
Subtask 1 (100 points): ; .
Examples
Input
5
50 50 70 80 100
Output
40.000%
Explanation
The average is . Only and are strictly above , so and .