from string import ascii_lowercase as X N=int(input()) S=list(input()) T=[""]*N for i in range(N): T[i]=X[~(X.index(S[i]))] print(*T,sep="")