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

  var A = parseInt(input[0]);
  var B = parseInt(input[1]);

  if (A <= 8 && B <= 8) {
    console.log('Yay!');
  } else {
    console.log(':(');
  }
}


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