#K62707. Count Winners

    ID: 31591 Type: Default 1000ms 256MiB

Count Winners

Count Winners

You are given the scores of n players in a game. Your task is to determine the number of players whose score is strictly greater than the average score of all players.

Let the scores be represented as \(s_1, s_2, \dots, s_n\). The average score is computed as:

\(\text{average score} = \frac{\sum_{i=1}^{n} s_i}{n}\)

You need to output the count of players whose score exceeds this average.

inputFormat

The first line of input contains an integer n — the number of players.

The second line contains n space-separated integers representing the scores of the players.

outputFormat

Output a single integer representing the number of players whose score is strictly greater than the average score.

## sample
5
45 67 23 89 34
2