Increase numbers - 2
Problem
The first line of the input data contains the number N
(from 1 to 100). The name of the person is written first in each of the following N
lines (not more than 20 characters, no spaces), and then a number (from 1 to 200) separated by a space - his age.
It is required to display the information in the same format, increasing the number in each line (except the first, where the number N
is written) by 1.
Examples
# |
Input |
Output |
1 |
2
Vasya 15
Emmanuel 137
|
2
Vasya 16
Emmanuel 138
|