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