'use strict'

function main(input) {

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

    if (input[0] <= 8 && input[1] <= 8) {
        console.log('Yay!')
    } else {
        console.log(':(')
    }
}

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