function Main (input) {
  const inputs = input.split(/\s/g).map((num) => parseInt(num));
  const half = 16 / 2;
  const isEnable = inputs[0] <= half && inputs[1] <= half;
  console.log('%s', isEnable ? 'Yay!' : ':(');
}

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