N = int(input()) S = input() V = {} for i in range(97, 127): V[chr(i)] = chr(122 - (i - 97)) ans = "" for s in S: ans += V[s] print(ans)