Sum of integers

Given a list of nn integers x1,,xnx_1,\ldots,x_n, give their sum as output.

Input

The first line contains a natural number nn. The second line contains a white-separated list of integers x1,,xnx_1,\ldots,x_n.

Output

The output contains a single integer, the sum x1++xnx_1+\cdots+x_n.

Problem information

Author: Guille Godoy

Generation: 2026-01-25T22:02:16.033Z

© Jutge.org, 2006–2026.
https://jutge.org