IPSC Logo

Internet Problem Solving Contest

IPSC 2013

Problem P – Plus one

You have just realized that the average of all the numbers in the world is too small. Therefore, you decided to increase some of them inconspicuously.

Problem specification

You are given several integers. Increment each of them by one.

Input specification

The input consists of several lines, each line contains single integer x.

The absolute value of each integer lies between 0 and 1000, inclusive.

Easy subproblem P1: There are exactly 50 lines of input.

Hard subproblem P2: There are exactly 1000 lines of input.

Output specification

For each integer x in the input, output a single line with the integer x + 1.

Use precisely the same format that was used for x.

Example

input
1
46
41
output
2
47
42

Note: This example has only 3 lines of input. The input files p1.in and p2.in contain 50 and 1000 lines, respectively.

Also note: Please do NOT submit any programs. For each subproblem, just produce and submit a correct output file.