#include int main(void){ char S[1001]; scanf("%s", S); for (int i = 0; S[i] != 0; i++) { if (S[i] == 'O' || S[i] == 'o') { printf("0"); } else if (S[i] == 'I' || S[i] == 'i') { printf("1"); } else { printf("%c", S[i]); } } printf("\n"); }