# No.676 C0nvertPr0b1em print(input().translate(str.maketrans({'I':'1', 'l':'1', 'O':'0', 'o':'0'})))