#include <iostream>
#include <cstring>
using namespace std;
const int N = 110;
char b[N];
int main(void)
{
string a;
getline(cin, a);
for (int i = 0; i < a.size(); i++) {
if (i == a.size() - 1) {
b[i] = a[i] + a[0];
break;
}
b[i] = a[i] + a[i+1];
}
cout << b << endl;
return 0;
}