Skip to content
UPEEC

Sum of an Array

Easy#basics#arrays· solved by 0 · time limit 2.0 s

Read nn integers and print their sum.

Input

The first line has nn. The second line has nn integers.

Output

The sum.

Constraints

1≤n≤1051 \le n \le 10^5, ∣ai∣≤109|a_i| \le 10^9 — use 64-bit integers.

Sample 1

Input

5
1 2 3 4 5

Output

15

Sign in or join free to run and submit your solution.