ans = '' for s in input(): if s == 'I' or s == 'l': ans += '1' elif s == 'O' or s == 'o': ans += '0' else: ans += s print(ans)