#include "iostream" using namespace std; char letter[1200]; int ans[1200]; int main() { cin >> letter; for (int i = 0; letter[i] != NULL; i++) { ans[i] = letter[i] - 'A'; ans[i] += 26 - (i + 1) % 26; ans[i] %= 26; letter[i] = ans[i] + 'A'; } cout << letter << "\n"; }