#include<stdio.h>
int main()
{
				int a,b;
				scanf("%d %d",&a,&b);
				if(1<=a<=16 & 1<=b<=16)
				{
								if(a>8 | b>8)
								{
												printf("\n:(");
								}
								else
								printf("\nYay!");
				}
}