Drop links or images here to add them to the editor.

Sum with While ⭐⭐

Read integers until the user enters -1. Print the sum of all numbers read, not counting the -1.

Input

One or more integers, one per line, ending with -1.

Output

Print the sum of all numbers read (not including -1).

Example

Input:

5
3
7
-1

Output:

15