#include <stdio.h>
int main(void) {
char s[100];
for (int i = 0; s[i] != '\0'; i++) {
if (s[i] == '1') {
s[i] = 'I';
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CiAgCiAgICBjaGFyIHNbMTAwXTsKICAgCiAgICBzY2FuZigiJXMiLCBzKTsKICAgCiAgICBwcmludGYoIiVzXG4gIC0+ICIsIHMpOwogICAgCiAgICBmb3IgKGludCBpID0gMDsgc1tpXSAhPSAnXDAnOyBpKyspIHsKICAgICAgICBpZiAoc1tpXSA9PSAnMScpIHsKICAgICAgICAgICAgc1tpXSA9ICdJJzsKICAgICAgICB9CiAgICB9CiAKICAgIHByaW50ZigiJXNcbiIsIHMpOwogICAgCiAgICByZXR1cm4gMDsKfQog