#include <stdio.h>
int main(void) {
int i;
char s[100];
// '1'を'I'に置き換える処理
for(i = 0; s[i] != '\0'; i++) {
if(s[i] == '1') {
s[i] = 'I';
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CiAgICBpbnQgaTsKICAgIGNoYXIgc1sxMDBdOwogICAgc2NhbmYoIiVzIiwgcyk7CiAgICBwcmludGYoIiVzXG4gIC0+ICIsIHMpOwoKICAgIC8vICcxJ+OCkidJJ+OBq+e9ruOBjeaPm+OBiOOCi+WHpueQhgogICAgZm9yKGkgPSAwOyBzW2ldICE9ICdcMCc7IGkrKykgewogICAgICAgIGlmKHNbaV0gPT0gJzEnKSB7CiAgICAgICAgICAgIHNbaV0gPSAnSSc7CiAgICAgICAgfQogICAgfQoKICAgIHByaW50ZigiJXNcbiIsIHMpOwogICAgcmV0dXJuIDA7Cn0=