#C12800. Increment Each Element of a List

    ID: 42268 Type: Default 1000ms 256MiB

Increment Each Element of a List

Increment Each Element of a List

You are given a list of integers. Your task is to output a new list where every element is incremented by 1.

More formally, if the input list is \( [a_1, a_2, \ldots, a_n] \), then the output list should be \( [a_1+1, a_2+1, \ldots, a_n+1] \).

If the input list is empty, you should output an empty result.

inputFormat

The input is provided as a single line containing zero or more integers separated by spaces. If the line is empty, the list is considered empty.

outputFormat

Output a single line consisting of the incremented integers separated by spaces. If the list is empty, output nothing.

## sample
1 2 3
2 3 4