function main(input) {


    input = input.split(' ').map(x => Number(x))

    if (Math.max(input[0], input[1]) > 8) {
        console.log(':(')
    } else {

        console.log('Yay!')
    }

}

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