Input
The first line contains the number
N (1<=N<=20) - the number of elements of a one-dimensional array. The second line contains
N integers (all numbers according to modulo no more than 100). The third line is an integer
a.
Imprint
Print one number - the sum of the array elements that are greater than the number
a.
Examples
| # |
Input |
Output |
| 1 |
5
1 2 3 4 5
0 |
15 |
| 2 |
3
-1 0 1
-2 |
0 |