function main(input) {
    var line = input.split(' ');
    var A = line[0];
    var B = line[1];
    var answer = A <= 8 && B <= 8 ? 'Yay!' : ':(';
    console.log(answer);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));