N=int(input()) S=str(input()) C=[219-ord(S[i]) for i in range(N)] D="" for i in range(N): D+=chr(C[i]) print(D)