function main(input){
  var args = input.split(" ").map(x=>parseInt(x));
  if(args[0]<9 && args[1]<9){
  	console.log("Yay!");
  }else{
  	console.log(":(");
  }

}



main(require("fs").readFileSync("/dev/stdin","utf-8"));