class Problem0676: def solve(this): s = input() print(s.replace('I', '1').replace('l', '1').replace('O', '0').replace('o', '0')) if __name__ == "__main__": problem = Problem0676() problem.solve()