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