#include using namespace std; using ll = long long; using Graph = vector>; long long GCD(long long a,long long b) { if(a%b == 0) return b; return GCD(b,a%b); } int main() { long long N; cin >> N; string S; cin >> S; string ans = ""; string alpha = "abcdefghijklmnopqrstuvwxyz"; for(long long i = 0; i < N; i++) { int x =0; for(int j = 0; j < 26; j++) { if(S[i] == alpha[j]) { x = j; } } ans += alpha[25 - x]; } cout << ans << endl; }