n = int(input()) S = input() alp = "abcdefghijklmnopqrstuvwxyz" ans = "".join(alp[25 - alp.index(i)] for i in S) print(ans)