403543: GYM101192 E A+B

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

Description

E. A+Btime limit per test1 secondmemory limit per test64 MBinputstandard inputoutputstandard output

You are given N numbers Ai. You are required to find the sum of Ai. Unfortunately, the numbers in the input were mixed up in such way that the number N is not necessarily the first number of the input.

Input

The first line contains the numbers Xi (0 ≤ Xi ≤  50). The amount of numbers in the input is not greater than 50. Among these numbers are the number N and the numbers Ai.

Output

Calculate the sum of Ai.

ExampleInput
23 3 12 7
Output
42

加入题单

算法标签: