unittest
{
	assert( [ "4 11" ].parse.expand.solve == "+" );
	assert( [ "3 5" ].parse.expand.solve == "*" );
	assert( [ "1 1" ].parse.expand.solve == "x" );
}



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 ab = input.front.split.to!( long[] );
	return tuple( ab[ 0 ], ab[ 1 ] );
}

auto solve( long a, long b )
{
	if( a + b == 15 ) return "+";
	if( a * b == 15 ) return "*";
	return "x";
}
