#include <iostream>
using namespace std;
int main() {
string str;
getline(cin, str);
for(int i = 0; i < str.length(); i++){
if(str[i]>='0' && str[i]<'9'){
str[i]++;
}
else if(str[i]=='9') str[i]='0';
}
cout << str;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglzdHJpbmcgc3RyOwoJZ2V0bGluZShjaW4sIHN0cik7Cglmb3IoaW50IGkgPSAwOyBpIDwgc3RyLmxlbmd0aCgpOyBpKyspewoJCWlmKHN0cltpXT49JzAnICYmIHN0cltpXTwnOScpewoJCQlzdHJbaV0rKzsKCQl9CgkJZWxzZSBpZihzdHJbaV09PSc5Jykgc3RyW2ldPScwJzsKCX0KCWNvdXQgPDwgc3RyOwoJcmV0dXJuIDA7Cn0=