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