#include "iostream" #include "cmath" #include "algorithm" #include "string" #include "vector" using namespace std; int n ; string s; void input(){ cin >> s; } void output() { cout << s << endl ; } int main() { input(); n = s.size(); for (int i = 0; i < n; i++) { int a = i + 1; while ( s[i] - a < 'A') { a -= 26 ; } s[i] = s[i] - a ; } output(); return 0; }