S = input() print(S.replace("I","1").replace("l","1").replace("O","0").replace("o","0"))