#include #include using namespace std; string S; int main() { cin >> S; string res; for (int i = 0; i < S.length(); i++) { int a = S[i] - 'A'; int b = (a + 2600 - (i + 1)) % 26; char c = 'A' + b; res += c; } cout << res << endl; return 0; }