#include <iostream>
#include <string.h>
using namespace std;
int main() {
int n = 256;
char a[n];
cin.getline(a,n);
for(int i = 0; i < strlen(a); i++){
a[i]-='0';
if (a[i]>=0 && a[i]<9){
a[i]+=1;
}
else if(a[i]==9) a[i]=0;
a[i]+='0';
}
for(int i=0;i<strlen(a);i++){
cout << a[i];
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWludCBuID0gMjU2OwoJY2hhciBhW25dOwoJY2luLmdldGxpbmUoYSxuKTsKCWZvcihpbnQgaSA9IDA7IGkgPCBzdHJsZW4oYSk7IGkrKyl7CgkJYVtpXS09JzAnOwoJCWlmIChhW2ldPj0wICYmIGFbaV08OSl7CgkJCWFbaV0rPTE7CgkJfQoJCWVsc2UgaWYoYVtpXT09OSkgYVtpXT0wOwoJCWFbaV0rPScwJzsKCX0KCWZvcihpbnQgaT0wO2k8c3RybGVuKGEpO2krKyl7CgkJY291dCA8PCBhW2ldOwoJfQoJcmV0dXJuIDA7Cn0=