The program processes a sequence of integers, which concludes with the number . Your task is to calculate the sum of all even numbers in this sequence, not including the final zero.
A sequence of integers, with each number provided on a separate line.
A single integer representing the sum of the even numbers in the sequence.
Example 1
Example 2