include[HTML_REMOVED]
using namespace std;
int main()
{
int i;
string s,w;
getline(cin,s);
w.resize(s.length());
for(i=0;i<(int)(s.length()-1);i++)
{
w[i]=(int)s[i]+(int)s[i+1];
}
w[i]=(int)s[i]+(int)s[0];
for(auto p:w)
{cout<<p;}
}