unittest
{
	assert( [ "atcoder beginner contest" ].parse.expand.solve == "ABC" );
	assert( [ "resident register number" ].parse.expand.solve == "RRN" );
	assert( [ "k nearest neighbor" ].parse.expand.solve == "KNN" );
	assert( [ "async layered coding" ].parse.expand.solve == "ALC" );
}



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 ss = input.front.split;
	return tuple( ss );
}

auto solve( string[] ss )
{
	auto r = "";
	foreach( s; ss )
	{
		r ~= s[ 0 ].toUpper;
	}
	return r;
}
