Codeforces Round #416 (Div. 2) has been moved to start on 27.05.2017 09:35 (UTC).
×

The following languages are only available languages for the problems from the contest

VK Cup 2016 - Wild Card Round 1 (Unofficial Open Online Mirror):

- J

No tag edit access

C. Array Sum

time limit per test

2 secondsmemory limit per test

64 megabytesinput

standard inputoutput

standard outputYou are given an array of integers. Calculate the sum of its elements.

Input

The *i*-th line of the input contains an integer *a*_{i} (0 ≤ *a* ≤ 1000) — the *i*-th element of the array. The size of the array is between 1 and 10, inclusive. Note that the size of the array is not given explicitly!

Output

Output a single integer — the sum of the elements of the array.

Examples

Input

2

15

110

3

Output

130

Input

90

0

21

331

45

Output

487

Codeforces (c) Copyright 2010-2017 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: May/26/2017 12:19:21 (c2).

Desktop version, switch to mobile version.
User lists

Name |
---|