#K11581. Standout Athletes

    ID: 23500 Type: Default 1000ms 256MiB

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:

average=i=1nscorein\text{average} = \frac{\sum_{i=1}^{n} score_i}{n}

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:

  1. The first line contains an integer n indicating the number of athletes.
  2. 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.

## sample
5
10 15 20 25 30
2

</p>