Competitions

# Week 9: January 11 - 17. Pointers. References

# More than average

Given array of **n** integers. Find the sum and the amount of numbers, greater than the arithmetic average of array elements.

#### Input

The first line contains number **n**. The next line contains **n** integers. All numbers are not greater than **100** by absolute value.

#### Output

Print the sum and the amount of numbers, greater than the arithmetic average of array elements.

Input example #1

5 1 6 2 6 3

Output example #1

12 2