
import std.conv;
import std.stdio;
import std.string;

void main()
{
	auto ab = readln.split.to!( int[] );
	writeln( solve( ab[ 0 ], ab[ 1 ] ) );
}

auto solve( in int a, in int b )
{
	return ( a <= 8 && b <= 8 ) ? "Yay!" : ":(" ;
}

unittest
{
	assert( solve( 5, 4 ) == "Yay!" );
	assert( solve( 8, 8 ) == "Yay!" );
	assert( solve( 11, 4 ) == ":(" );
}
