EasyRating 900
Add One to Digits
The digits of a large number are given as an array. Add one and print the new digits.
Input
n, then n digits.
Output
One line.
Sample 1
Input
3 1 2 3
Output
1 2 4
Sample 2
Input
1 9
Output
1 0
Output appears heren, then n digits.
One line.
3 1 2 3
1 2 4
1 9
1 0
Output appears here