s = input() t = "" for i in s: if i in ["o", "O"]: t += "0" elif i in ["I", "l"]: t += "1" else: t += i print(t)