var main = function(input){
input = input.split(' ')
  var A = parseInt(input[0]);
  var B = parseInt(input[1]);
  if(A<9){
    if(B<9){
    	console.log('Yay!');
    } else {
      console.log(':(');
  }
  } else{
    console.log(':(');
    return 0;
  }
  
}
main(require("fs").readFileSync("/dev/stdin", "utf8").trim());
