def main(): s = input() s = s.replace('I', '1') s = s.replace('l', '1') s = s.replace('O', '0') s = s.replace('o', '0') print(s) if __name__ == '__main__': main()