function Main(input){
    var arr = [];
    arr = parseInt(input.split(' '));

    if(arr[0] <= 8 && arr[1] <= 8){
        console.log('Yay!');
    } else {
        console.log(':('); 
    }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));