n=int(input()) l=list(input().strip()) b=[] for i in range(26):b+=bytes("\\u00"+hex(i+97)[2:],encoding='utf-8',errors='replace').decode('unicode-escape') k=[] for i in l: k+=[b[25-b.index(i)]] print(''.join(k))