const input = require('fs').readFileSync('/dev/stdin', 'utf8');

const a = Number(input.split(' ')[0]);

const b = Number(input.split(' ')[1]);

const output = () => {
  if (a > 8 || b > 8) {
    console.log(':(');
  } else {
    console.log('Yay!');
  }
}

output();
