#include using namespace std; #define rep(i,n) for(int i=0;i> s; rep(i,s.size()){ if(s[i]-(i+1)%26>=65)s[i]=s[i]-(i+1)%26; else s[i]=s[i]-(i+1)%2+26; } cout << s << endl; }