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

void main(){
	auto AB = readLine!int();
	if ( AB[0] <= 8 && AB[1] <= 8 ){
		writeln("Yay!");
	}else{
		writeln(":(");
	}
}

T[] readLine(T)(){
	T[] ret;
	foreach( elm ; readln().split() ){
		ret ~= elm.to!int();
	}
	return ret;
}