import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) INF = float("INF") MOD = 10 ** 9 + 7 MOD2 = 998244353 from heapq import heappop, heappush import math from collections import Counter, deque from itertools import accumulate, combinations, combinations_with_replacement, permutations from bisect import bisect_left, bisect_right import decimal n = int(input()) s = list(map(lambda x : ord(x) - ord("a"), list(input().rstrip()))) trns = [chr(25 - i + ord("a")) for i in range(26)] ans = [] for i in range(n): ans.append(trns[s[i]]) print("".join(ans))