#include using namespace std; int main(int argc, const char* argv[]) { string S; cin >> S; int i = 0; for (auto&& c : S) { i++; cout << (char)((c - 'A' + (26 - i % 26)) % 26 + 'A'); } cout << endl; return 0; }