#include using namespace std; int main(){ string alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; string str; cin >> str; int n = str.size(); for(int i = 0; i < n; i++) cout << alpha[(((str[i] - 'A') - (i + 1)) + 2600000) % 26]; cout << endl; }