#include<cstdio>
#include<stdio.h>
#include<cstring>
#include<iostream>

using namespace std;

int main()
{
    int i,j,t,n,a,b;
    cin>>a>>b;

    if(a>8 || b>8)
        printf(":(\n");
    else
        printf("Yay!\n");
    return 0;
}
