Problems
More than average
More than average
Given array of n integers. Find the sum and the number of integers, 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 number of integers, greater than the arithmetic average of array elements.
Input example #1
5 1 6 2 6 3
Output example #1
12 2