PROGRAMMING:accumulator
Please implement an accumulator. Input n nonnegative integers and output their sum. 1 < n < 1000 and each number < 10000.
###Input format:
The input consists of two lines. The first line: contains an integer n, which means there are n numbers in total. The second line: contains n integers.
###Output format:
Output the sum of N numbers.
###Input example:
```in
four
3 2 1 4
```
###Output example:
```out
ten
```
answer:If there is no answer, please comment
###Input format:
The input consists of two lines. The first line: contains an integer n, which means there are n numbers in total. The second line: contains n integers.
###Output format:
Output the sum of N numbers.
###Input example:
```in
four
3 2 1 4
```
###Output example:
```out
ten
```
answer:If there is no answer, please comment