#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using vi = vector; using vvi = vector; using vl = vector; using vvl = vector; using vb = vector; using vvb = vector; using vd = vector; using vs = vector; using pii = pair; using pll = pair; using pdd = pair; using vpii = vector; using vpll = vector; using vpdd = vector; const int inf = (1 << 30) - 1; const ll INF = 1LL << 60; //const int MOD = 1000000007; const int MOD = 998244353; int main() { string s; cin >> s; for (int i = 0; i < s.length(); i++) { int a = s[i] - 'A'; a -= (i + 1) % 26; if (a < 0) a += 26; cout << (char)('A' + a); } cout << endl; return 0; }