N = int(input()) S = input() ans = [] for s in S: t = ord(s) - ord(a) c = chr(26 - t + ord(a)) ans.append(c) print("".join(ans))