function Main(s){
	s=s.split(/\n|\s/);
	s.forEach(function(e,i,a){a[i]=Number(a[i]);});
	
	var ans=":(";
	if(s[0]<9&&s[1]<9){ans="Yay!";}
	console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));