## Description:

Calculate the sum of some integers.

## Input:

The input will consist of multiple test cases. Each test case consist of an integer N and then N integers following in the same line,separated by a space. A line starting with 0 terminates the input and this line is not to be processed.

## Output:

For test case, you should output their sum in one line, and with one line of output for each line in input. After each test case output, you should output one blank line.

## Sample Input:

4 1 2 3 4

5 1 2 3 4 5

0

## Sample Output:

10

15

## Note:

本题由旧版NOJ导入，来源：HDUOJ