"use strict";

function main(arg) {
    const A = arg.split("\n")[0].split(" ")[0];
    const B = arg.split("\n")[0].split(" ")[1];
    if(A <=8 && B <=8) {
        console.log("Yay!");
    } else {
        console.log(":(");
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));