LearnPy Hub
← Arena
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
solution.py
Output appears here
Add One to Digits · Python Arena problem · LearnPy Hub