Write a program that reads an array of ints and an integer number n. The program must sum all the array elements greater than n.
Input data format
The first line contains the size of an array.
The second line contains the elements of the array separated by spaces.
The third line contains the number n.
Output data format
Only a single number representing the sum.