function Main(input) {
	input = input.trim().split(" ").map((a)=>Number(a));
  if(input[0] > 8 || input[1] > 8){
     console.log(":(");
     }else{
      console.log("Yay!"); 
     }
}

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