More than average#7833

More than average

1 secundă
128 de megabyți
Foarte ușor

An array consisting of integers is given. Find the sum and the count of the array elements whose values are greater than the arithmetic mean of all elements.

Date de intrare

The first line contains an integer (1 \le n \le 100) – the number of elements in the array. The second line contains integers, each does not exceed in absolute value.

Date de ieșire

Print the sum and the count of the array elements whose values are greater than the arithmetic mean of all elements.

Exemple

Exemplul 1

Loading
Loading