unittest
{
	assert( [ "happy,newyear,enjoy" ].parse.expand.solve == "happy newyear enjoy" );
	assert( [ "haiku,atcoder,tasks" ].parse.expand.solve == "haiku atcoder tasks" );
	assert( [ "abcde,fghihgf,edcba" ].parse.expand.solve == "abcde fghihgf edcba" );
}



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

auto solve( string s )
{
	return s.replace( ",", " " );
}
