function Main(input) {
    input = input.split("\n");
    var ans = Number(input[0].split(' ')[0]) <= 8 && Number(input[0].split(' ')[1]) <= 8 ? 'Yay!' : ':('  
    console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));