#include #include using namespace std; int main(void) { string S; cin >> S; for(unsigned i = 0; i < S.length(); i++){ S[i] = 'A' + (S[i] - 'A' - (i + 1) + 26 * (i / 26 + 1)) % 26; } cout << S << endl; return 0; }