#include <stdio.h>
void replaceAll(char *str, char oldChar, char newChar) {
while (*str != '\0') { // 終端文字 '\0' に達するまでループ
if (*str == oldChar) {
*str = newChar; // '1' を 'I' に置き換える
}
str++; // 次の文字へポインタを進める
}
}
int main() {
char s[100]; // 最大100文字の入力
scanf("%s", s
); // 文字列を入力
replaceAll(s, '1', 'I'); // 全ての '1' を 'I' に置き換える
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHJlcGxhY2VBbGwoY2hhciAqc3RyLCBjaGFyIG9sZENoYXIsIGNoYXIgbmV3Q2hhcikgewogICAgd2hpbGUgKCpzdHIgIT0gJ1wwJykgeyAgLy8g57WC56uv5paH5a2XICdcMCcg44Gr6YGU44GZ44KL44G+44Gn44Or44O844OXCiAgICAgICAgaWYgKCpzdHIgPT0gb2xkQ2hhcikgewogICAgICAgICAgICAqc3RyID0gbmV3Q2hhcjsgIC8vICcxJyDjgpIgJ0knIOOBq+e9ruOBjeaPm+OBiOOCiwogICAgICAgIH0KICAgICAgICBzdHIrKzsgIC8vIOasoeOBruaWh+Wtl+OBuOODneOCpOODs+OCv+OCkumAsuOCgeOCiwogICAgfQp9CgppbnQgbWFpbigpIHsKICAgIGNoYXIgc1sxMDBdOyAgLy8g5pyA5aSnMTAw5paH5a2X44Gu5YWl5YqbCgogICAgCiAgICBzY2FuZigiJXMiLCBzKTsgIC8vIOaWh+Wtl+WIl+OCkuWFpeWKmyAKCiAgICByZXBsYWNlQWxsKHMsICcxJywgJ0knKTsgIC8vIOWFqOOBpuOBriAnMScg44KSICdJJyDjgavnva7jgY3mj5vjgYjjgosKCiAgICBwcmludGYoIuWkieaPm+W+jOOBruaWh+Wtl+WIlzogJXNcbiIsIHMpOwoKICAgIHJldHVybiAwOwp9Cg==