function Main(input){

input=input.split(" ");
inA=parseInt(input[0]);
inB=parseInt(input[1]);

answerY = "Yay!";
answerN = ":(";

answer = answerY;
if (inA > 8 || inB > 8 ) {
    answer = answerN;
}

console.log(answer);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
