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

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

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

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