Problem E. A+B

时间限制 1 ms   内存限制 64 MB

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.

输入数据

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.

输出数据

Calculate the sum of Ai.

样例

提交

请先 登录

© 2025 FAQs Contact About