n = int(input()) s = input() t = [] for i in s: t.append(chr(ord('a')+(25-(ord(i)-ord('a'))))) print(''.join(t))