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