N = int(input()) A = list(input()) ANS = [] for a in A: ANS.append(chr(ord('a')+25-(ord(a)-ord('a')))) print(''.join(map(str, ANS)))