#K67227. Increment Elements

    ID: 32596 Type: Default 1000ms 256MiB

Increment Elements

Increment Elements

Your task is to write a program that reads a list of integers, increments each integer by 1, and outputs the resulting list. For an empty list, no output should be printed.

The input and output must be handled via standard input and standard output.

For example, if the input is a list containing n integers, then the output should be the list where each integer is incremented by 1.

If any formulas are required, use the LaTeX format. In this problem, you'll simply be performing arithmetic additions.

inputFormat

The first line contains an integer n, denoting the number of elements in the list. The second line contains n space-separated integers.

If n is 0, then the list is empty and there will be no integers in the second line.

outputFormat

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

## sample
0