#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
typedef long double ld;
#define pi 3.14159265359
#define inf 2147483647
#define INF 9223372036854775807
#define mod 1000000007
#define mod2 998244353
#define Graph vector<vector<int>>

int main() {
    int A, B; cin >> A >> B;
    string ans = "Yay!";
    if (A > 8 || B > 8) {
        ans = ":(";
    }
    cout << ans << endl;
}
#include<bits/stdc++.h>
using namespace std;
int main()
{  int a,b;
   cin>>a>>b;
   int r=abs(a-b);
  int k=0; 
 if(a<b) 
     k=2*a+2*r;
 else
     k=2*b+2*r;
if(k<=16)
  cout<<"Yay!";
else
  cout<<":(";
}