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