#include #include #include #include #include #include #include #include #include #define rep(i,l,n) for(lint i=l;i vi; typedef vector vli; typedef vector vvi; typedef pair pii; char solve(char c,int k){ char res; int x=c-'A'-k; while(x<0){ x+=26; } return 'A'+x; } int main(){ string s,ans; cin>>s; rep(i,0,s.size()){ ans+=solve(s[i],i+1); } o(ans); }