#include #define rep(i,a,n) for (int i = a;i < n;i++) using namespace std; int main(){ string s,ans; cin >> s; rep(i,0,s.size()){ ans = std::to_string(((s[i]-'A')-(i+1)+1300)%26+'A'); cout << ans; } }