#include<stdio.h>

int main()
{

    int A,B;

    while(scanf("%d%d",&A,&B)==2)

    {
        if(A<=8 && B<=8 )


            printf("Yay!\n");

        else

            printf(":(\n");




    }

    return 0;



}