function main(input) {

  var input = input.split(' ');

  var answer = 'Yay!';
  if(a >= input[0] && input[1] >= 9) {
  	answer = ':(';
  }

  console.log(answer);

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