Successor Function
View as PDFSpiro is learning basic arithmetic! He is learning how to count, but can only count once... per day. His teacher has asked him to count from a number , but Spiro only knows how to count once, so he answers with one single number
. Spiro has unlocked the successor function. Unfortunately, as has eloquently stated:
FatalEagleSpiro doesn't know anything about advanced concepts like strings or numbers.
And of course, Spiro knows nothing about arithmetic either. has forgotten that the successor function only applies to natural numbers, and has asked Spiro to count from some non-natural, yet integer numbers. Nevertheless, Spiro still responds with .
asks a total of questions. In the
question, he provides the number
and Spiro must respond with
.
In your code, you may not include +, -, *, /, %, ', " or any digit.
Constraints
Input Specification
The first line of input contains a single integer, , the number of questions.
Among the next lines, the
line contains a single integer,
, the number provided in the
question.
Output Specification
Output lines. The
line should contain a single integer,
.
Sample Input
1
996718039999
Sample Output
996718040000
Sample Explanation
If this requires an explanation, [insert nasty statement here].
Note
This question really is ____
Comments