function main(input) {
    var a = input[0].split(" ")-0;
    var b = input[0].split(" ")-0;
    console.log((a>8||b>8)?"Yay!":":(");
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim().split("\n"))
