Easy
Sum of Inputs
Read n, then n integers, one per line, and print their sum.
Input
n, then n lines.
Output
The sum.
Sample 1
Input
3 1 2 3
Output
6
Sample 2
Input
1 -5
Output
-5
Output appears heren, then n lines.
The sum.
3 1 2 3
6
1 -5
-5
Output appears here