#include using namespace std; using ll = long long; using vll = vector; using vvll = vector; using vi = vector; using vvi = vector; using pii = pair; int main() { string S,a; cin >> S; a = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; map M; int N = S.size(); for (int i = 0; i < 26; i++) { M[a[i]] = a[(i+25)%26]; } for (int i = 0; i < N; i++) { for (int j = i; j < N; j++) { S[j] = M[S[j]]; } } cout << S << endl; }