S=list(input()) n=len(S) for i in range(n): if( S[i]=='I' or S[i]=='l'): S[i]=1 elif( S[i]=='O' or S[i]=='o'): S[i]=0 for i in range(n-1): print(S[i],end='') print (S[n-1])