s = input() trans = {"I": "1", "l": "1", "O": "0", "o": "0"} mt = str.maketrans(trans) ans = s.translate(mt) print(ans)