More than average#7833

More than average

1 second
128 megabytes
Very easy (≈850)

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.

Input

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.

Output

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

Examples

Example 1

Loading
Loading