#include <stdio.h>
void replace(char i, char a, char b) {
while (i!= '\0') { // 終端文字 '\0' に達するまでループ
if (i == a) {
i = b; // '1' を 'I' に置き換える
}
i++; // 次の文字へポインタを進める
}
}
int main() {
char s[100]; // 最大100文字の入力
scanf("%s", s
); // 文字列を入力
replace(s, '1', 'I'); // 全ての '1' を 'I' に置き換える
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHJlcGxhY2UoY2hhciBpLCBjaGFyIGEsIGNoYXIgYikgewogICAgd2hpbGUgKGkhPSAnXDAnKSB7ICAvLyDntYLnq6/mloflrZcgJ1wwJyDjgavpgZTjgZnjgovjgb7jgafjg6vjg7zjg5cKICAgICAgICBpZiAoaSA9PSBhKSB7CiAgICAgICAgICAgIGkgPSBiOyAgLy8gJzEnIOOCkiAnSScg44Gr572u44GN5o+b44GI44KLCiAgICAgICAgfQogICAgICAgIGkrKzsgIC8vIOasoeOBruaWh+Wtl+OBuOODneOCpOODs+OCv+OCkumAsuOCgeOCiwogICAgfQp9CgppbnQgbWFpbigpIHsKICAgIGNoYXIgc1sxMDBdOyAgLy8g5pyA5aSnMTAw5paH5a2X44Gu5YWl5YqbCiAgICBzY2FuZigiJXMiLCBzKTsgIC8vIOaWh+Wtl+WIl+OCkuWFpeWKmwoKICAgIHJlcGxhY2UocywgJzEnLCAnSScpOyAgLy8g5YWo44Gm44GuICcxJyDjgpIgJ0knIOOBq+e9ruOBjeaPm+OBiOOCiwoKICAgIHByaW50Zigi5aSJ5o+b5b6M44Gu5paH5a2X5YiXOiAlc1xuIiwgcyk7CgogICAgcmV0dXJuIDA7Cn0K