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