# coding: utf-8 S = input() for s in S: if s == 'I' or s == 'l': print(1, end='') elif s == 'O' or s == 'o': print(0, end='') else: print(s,end='') print()