#K64347. Summing Input Numbers

    ID: 31955 Type: Default 1000ms 256MiB

Summing Input Numbers

Summing Input Numbers

Given a space-separated sequence of integers, compute their sum. The sum is defined by \( S = \sum_{i=1}^{n} a_i \), where \( a_i \) represents each of the given numbers.

inputFormat

The input consists of a single line containing space-separated integers read from stdin.

outputFormat

Output a single integer — the sum of all provided integers, printed to stdout.

## sample
4 2 1 5 6
18