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