n = int(input()) s = input() for c in s: print(chr(26 - (ord(c) - ord("a") + 1) + ord("a")), end="") print("")