function main(input) {
  const args = input.split(' ');
  
  const A = args[0];
  const B = args[1];
  
  if (A <= 8 && B <= 8) {
    console.log('Yay!');
  } else {
    console.log(':(');
  }
}

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