function main(input) {
  const A = parseInt(input.split(" ")[0], 10);
  const B = parseInt(input.split(" ")[1], 10);
  if(A>8||B>8){
    console.log(":(");
  }else{
    console.log("Yay!");
  }

}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));