s = input() for c in s: if c == 'I' or c == 'l': print('1', end = "") elif c == 'O' or c == 'o': print('0', end = "") else: print(c, end = "") print("")