n = int(input()) s = list(input()) ans = [] for i in s: i = ord(i) ans.append(chr(25-(i-97)+97)) print(*ans,sep = "")