#include using namespace std; typedef long long ll; typedef pair P; const int INF = 1e9; const int mod = 1e9+7; const double EPS = 1e-10; const double PI = acos(-1.0); int main() { string s; cin >> s; for(int i = 0; i < s.size(); i++){ char t = s[i]; s[i] -= i%26+1; if(!('A' <= s[i] && s[i] <= 'Z')) s[i] += 26; cout << s[i]; } return 0; }