e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 6: December 14 - 20. Char arrays 1

Sum of even digits

One long integer is given. Find the sum of its even digits.

Input

One positive integer n (n10100).

Output

Print the sum of even digits in number n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2345
Output example #1
6
Input example #2
3458937487534533459
Output example #2
32