function Main(input) {
	input = input.split(" ");

	var a = parseInt(input[0], 10);
  	var b = parseInt(input[1], 10);
  
	if(a <= 8 && b <= 8  ){
      console.log('Yay!');
    }
  	else{
      console.log(':(');
    }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));