#include<iostream>
#define ll long long
using namespace std;
int main()
{
    int a,b;
    cin>>a>>b;
    if(a<=8 && b<=8)
    {
        cout<<"Yay!";
    }
    else
    {
        cout<<":(";
    }
    return 0;
}
