n = int(input()) s = input() t = [] for c in s: t.append(chr(25 - ord(c) + 97 * 2)) print(*t, sep='')