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