#include //cin, cout #include //vector #include //sort,min,max #include //string #include //fixed #include //setprecision using namespace std; int main() { string S; cin >> S; for (unsigned int i = 0; i < S.length(); i++) { S[i] = S[i] - (i + 1) % 26; if (S[i] < 65) { S[i] = S[i] + 26; } } cout << S << endl; return 0; }