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

  var A = +input[0];
  var B = +input[1];

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

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