#P2393. Sum of Numbers

    ID: 15664 Type: Default 1000ms 256MiB

Sum of Numbers

Sum of Numbers

redbag gave yyy a lot of numbers, and yyy must compute the sum of these numbers. The task is simple: compute the sum of a list of integers.

Time Limit: $1$ second

inputFormat

The first line contains a single integer n which denotes the number of integers provided. The second line contains n space-separated integers.

outputFormat

Output a single integer which represents the sum of the given numbers.

sample

5
1 2 3 4 5
15