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 are not more than 100 modulo).
Imprint
Print one number - the sum of even elements.
Examples
# |
Input |
Output |
1 |
5
2 4 1 3 6
| 12 |
2 |
3
1 3 5
| 0 |