S= input() S = list(S) 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" S = "".join(S) print(S)