#K11581. Standout Athletes
Standout Athletes
Standout Athletes
You are given the scores of n athletes. An athlete is considered a standout athlete if his/her score is strictly greater than the average score of all athletes. The average score is given by the formula:
Your task is to count the number of standout athletes.
Note: If there are no athletes (i.e. n = 0), output 0.
inputFormat
The input is read from standard input and contains two lines:
- The first line contains an integer n indicating the number of athletes.
- The second line contains n space-separated integers representing the scores of the athletes.
outputFormat
Output a single integer representing the number of standout athletes.
## sample5
10 15 20 25 30
2
</p>