a='' for i in input(): a+=['0','1'][i in ['I','l']] if i in ['l','o','I','O'] else i print(a)