#include <bits/stdc++.h>
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define all(x) x.begin(),x.end()
using namespace std;

typedef long long int ll;
typedef pair<int,int> ii;
typedef pair<ii,ii> iv;

const int INF = 1e8;
const int N = 5010;

int a,b;

int main()
{
    ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    cin>>a>>b;

    if(a <= 8 && b<=8)
        cout<<"Yay!\n";
    else
        cout<<":(\n";
}