#include <iostream>
using namespace std;
int main() {
string a, b;
getline(cin, a);
int len = a.size();
for (int i = 0; a[i]; i++) {
b[i] = a[i]+ a[(i + 1) % len];
cout << b[i];
}
cout << endl;
return 0;
}