#include <iostream>

using namespace std;

int main(){
	int a, b, cake[16];
	cin>>a;
	cin>>b;
	if((a+b)>16)
		cout<<":("<<endl;
	if(a>8||b>8){
		cout<<":("<<endl;
	}
	
	else{
		cout<<"Yay!"<<endl;
	}


return 0;
}