#include <bits/stdc++.h>
#include <string>
using namespace std;
int main()
{
string S, kq = " ";
cin >> S;
long long n = S.length();
for(int i = 0; i < n; i +=2)
{
char chu = S[i];
int so = S[i + 1]- '0';
char chucu = chu + so;
if(chucu > 'Z')
chucu = 'A' +(chucu - 'Z' - 1);
kq = kq + chucu;
}
cout << kq;
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CiNpbmNsdWRlIDxzdHJpbmc+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpCnsKICAgIHN0cmluZyBTLCBrcSA9ICIgIjsKICAgIGNpbiA+PiBTOwogICAgbG9uZyBsb25nIG4gPSBTLmxlbmd0aCgpOwogICAgZm9yKGludCBpID0gMDsgaSA8IG47IGkgKz0yKQogICAgewogICAgICAgIGNoYXIgY2h1ID0gU1tpXTsKICAgICAgICBpbnQgc28gPSBTW2kgKyAxXS0gJzAnOwogICAgICAgIGNoYXIgY2h1Y3UgPSBjaHUgKyBzbzsKICAgICAgICBpZihjaHVjdSA+ICdaJykKICAgICAgICBjaHVjdSA9ICdBJyArKGNodWN1IC0gJ1onIC0gMSk7CiAgICAgICAga3EgPSBrcSArIGNodWN1OwogICAgfQogICAgY291dCA8PCBrcTsKCiAgICByZXR1cm4gMDsKfQ==