#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>


int main()
{
    int i,j,k,m,n,test;

    scanf("%d %d",&m,&n);
    if((m/2)>1 &&(n/2)>1)
        printf("Yay!\n");
    else printf(":(\n");
    return 0;
}
