~/algor $ cat problems/if-juftlarining-yigindisi
Sum of the even ones
Easy
1000 ms
64 MB
18%
Three integers $A$, $B$ and $C$ are given. Compute the sum of only the even ones. Negative numbers are even or odd too ($-4$ is even, $-3$ is odd), and $0$ is even. If there are no even numbers, print $0$.
Input
One line with three integers: $A$, $B$ and $C$.
Output
One integer — the sum of the even numbers.
Note
$-10^{9} \le A, B, C \le 10^{9}$
Examples
Input #1
1 4 6
Output #1
10
Input #2
3 5 7
Output #2
0