import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
{
String str
= bufferedReader.
readLine(); char[] s = str.toCharArray();
for(int i = 0; i < str.length(); i++) {
if(s[i]>='0' && s[i]<'9'){
s[i]++;
}
else if(s[i]=='9') s[i]='0';
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBNYWluCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCUJ1ZmZlcmVkUmVhZGVyIGJ1ZmZlcmVkUmVhZGVyID0gbmV3IEJ1ZmZlcmVkUmVhZGVyKG5ldyBJbnB1dFN0cmVhbVJlYWRlcihTeXN0ZW0uaW4pKTsKCQlTdHJpbmcgc3RyID0gYnVmZmVyZWRSZWFkZXIucmVhZExpbmUoKTsKCQljaGFyW10gcyA9IHN0ci50b0NoYXJBcnJheSgpOwoJCWZvcihpbnQgaSA9IDA7IGkgPCBzdHIubGVuZ3RoKCk7IGkrKykgewoJCQlpZihzW2ldPj0nMCcgJiYgc1tpXTwnOScpewoJCQkJc1tpXSsrOwoJCQl9CgkJCWVsc2UgaWYoc1tpXT09JzknKSBzW2ldPScwJzsKCQl9CgkJU3lzdGVtLm91dC5wcmludGxuKHMpOwoJfQp9