#include <iostream> #include <sstream> #include <math.h> #include <stack> #include <set> #include <algorithm> #include <string> #include <queue> #include <stack> #include <map> #include <cstdio> #include <vector> using namespace std; #define INF (1 << 30) #define INFLL (1LL << 60) char hukugen(char a,int n){ int b = a; b -= n; while(b < 65) { b += 26; } return b; } int main() { string str; cin >> str; for(int i = 0;i < str.size();i++){ str[i] = hukugen(str[i],i + 1); } cout << str << endl; return 0; }