#include using namespace std; int main() { char s[1025]; cin >> s; for(int i = 0; s[i] != '\0'; i++){ int j = i; if(j >= 26){ j -= 26 * (j / 26); } s[i] -= (j + 1); if(s[i] < 'A'){ s[i] += 26; } } cout << s << endl; return 0; }