S = input() l = [] for s in S: if s == 'I' or s == 'l': l.append('1') elif s == 'O' or s == 'o': l.append('0') else: l.append(s) print("".join(l))