S = input() List = [] List.append(S.replace("I", "1")) List.append(S.replace("l", "1")) List.append(S.replace("O", "0")) List.append(S.replace("o", "0")) print(List[-1])