input() print("".join([chr(219 - ord(x)) for x in input()]))