MarkErovani cubes#2803

MarkErovani cubes

1 Sekunde
64 Megabyte
Sehr leicht

Vitek has a set of cubes featuring both lowercase and uppercase English letters. Recently, his mother gave him a set of cubes with digits, so Vitek quickly learned to count up to . However, his father unwittingly gave him a set of colorful markers, after which Vitek began experimenting with the digit cubes: he would color over a number and draw the next higher digit in its place. Since he knew that the digit does not exist, he would always write instead of .

Note that sometimes Vitek's mother called him for a meal, and he did not have time to finish his work and write the next digit—in this case, the cube remained blank forever, and such cubes are denoted by the space character.

Your task is to help Vitek by writing a program that performs the next marking of the cubes according to these rules. Since you are not at home but at an olympiad, your mother will not call you for a meal, and you must finish the task.

Eingabe

A single line containing only the symbols described above. The line length does not exceed characters.

Ausgabe

A single line—the result of your program's operation.

Beispiele

Beispiel 1

Loading
Loading

Beispiel 2

Loading
Loading