#include int main(void){ int i; char S[1100]; scanf("%s", S); for(i=0;i<1100;i++){ int n = (i+1)%26; int data = S[i] - 'A'; if(S[i] == '\0'){ break; } data = (data + (26 - n))%26; S[i] = (char)(data + 'A'); } printf("%s\n", S); return 0; }