unittest
{
	assert( [ "oder atc" ].parse.expand.solve == "atcoder" );
	assert( [ "humu humu" ].parse.expand.solve == "humuhumu" );
}



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

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

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto st = input.front.split.to!( dchar[][] );
	return tuple( st[ 0 ], st[ 1 ] );
}

auto solve( dchar[] s, dchar[] t )
{
	return t ~ s;
}
