#include #include using namespace std; int main() { char str[1025]; scanf("%s", str); int shift; for (int i=0; i < strlen(str); i++) { shift = (i+1) % 26; str[i] -= shift; if (str[i] < 'A') str[i] += 26; } printf("%s\n", str); return 0; }