The program processes a sequence of integers that ends with the number . Your task is to calculate the sum of this sequence, not including the final zero.
A series of integers, each on a separate line.
A single integer representing the sum of the sequence.
Example 1