Sum of the sequence#8910

Sum of the sequence

1 second
64 megabytes
Very easy

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.

Input

A series of integers, each on a separate line.

Output

A single integer representing the sum of the sequence.

Examples

Example 1

Loading
Loading