AB=eval(input())

AB=AB.rstrip().split(" ")

A=int(AB[0])

B=int(AB[1])



if A<=8 and B<=8:

    print("Yay!")

else:

    print(":(")
A,B=list(map(int,input().split()))

if A<=8 and B<=8:

    print("Yay!")

else:

    print(":(")
AB = eval(input())
AB = AB.rstrip().split(" ")
A = int(AB[0])
B = int(AB[1])
if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

A, B = list(map(int, input().split()))
if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

-AB = eval(input()) -AB = AB.rstrip().split(" ") -A = int(AB[0]) -B = int(AB[1]) +A, B = list(map(int, input().split()))