300682: CF130C. Decimal sum

Memory Limit:64 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

C. Decimal sumtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard output

You are given an array of integer numbers. Calculate the sum of its elements.

Input

The first line of the input contains an integer n (1 ≤ n ≤ 100) — the size of the array. Next n lines contain the elements of the array, one per line. Each element is an integer between 1 and 100, inclusive.

Output

Output the sum of the elements of the array.

ExamplesInput
5
1
2
3
4
5
Output
15
Input
7
100
5
45
86
14
20
30
Output
300

Input

加入题单

算法标签: