Preparando MOJI

Decimal sum

2000ms 65536K

Description:

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.

Sample Input:

5
1
2
3
4
5

Sample Output:

15

Sample Input:

7
100
5
45
86
14
20
30

Sample Output:

300

Informação

Codeforces

Provedor Codeforces

Código CF130C

Tags

*special

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 08:33:39

Relacionados

Nada ainda