#include int main() { int i=0; char s[1025]; scanf("%s",s); while(s[i]!='\0'){ printf("%c",(s[i]-(i%26)-1-'A'+26)%26+'A'); i++; } return 0; }