#include <iostream>
int main()
{
std::string text;
std::cin >> text;
for(unsigned i = 0; i < text.size() / 2; ++i)
std::cout << text[i];
}