n=input() list1=["I","l","O","o"] list2=["1","1","0","0"] for i in range(4): n=n.replace(list1[i],list2[i]) print(n)