alphs = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] convert = dict() i = 0 for alph in alphs: convert[alph] = alphs[25 - i] i += 1 n = int(input()) s = input() ans = '' for i in range(n): ans += convert[s[i]] print(ans)