input() print(''.join([chr(219-ord(i)) for i in input()]))