function Main(input) {
    var AB = input.split(' ');
    var A = Number(AB[0]);
    var B = Number(AB[1]);

    console.log(A > 8 || B > 8 ? ":(" : "Yay!");
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
