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