#C13717. Above Average Temperatures

    ID: 43286 Type: Default 1000ms 256MiB

Above Average Temperatures

Above Average Temperatures

Given a sequence of daily temperatures, calculate the average temperature defined as \( \text{average} = \frac{\sum_{i=1}^{n} t_i}{n} \) and count the number of days where the temperature is strictly above the average. If the list is empty, output 0.

inputFormat

The input is read from standard input. The first line contains an integer \( n \) representing the number of days. The second line contains \( n \) space-separated integers, each denoting a day's temperature. If \( n = 0 \), there will be no second line.

outputFormat

Output a single integer which is the count of days with a temperature strictly greater than the average temperature.

## sample
7
70 75 80 85 90 95 100
3