Skip to content
C

Sum of N Numbers

Easyjava

Read a count N, then read N integers, and print their sum.

Input: the first token is N; then N integers (any whitespace between them).

Output: one line — the sum of the N integers.

Input (stdin)

Output

Run your code to see output here...