unittest
{
	assert( [ "atcoder" ].parse.expand.solve == "acdr" );
	assert( [ "aaaa" ].parse.expand.solve == "aa" );
	assert( [ "z" ].parse.expand.solve == "z" );
	assert( [ "fukuokayamaguchi" ].parse.expand.solve == "fkoaaauh" );
}



import std.conv;
import std.range;
import std.stdio;
import std.string;
import std.typecons;

void main()
{
	stdin.byLineCopy.parse.expand.solve.writeln;
}

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto s = input.front.strip;
	return tuple( s );
}

auto solve( string s )
{
	auto t = "";
	for( auto i = 0; i < s.length; i += 2 )
	{
		t ~= s[ i ];
	}
	return t;
}
