(a, b) = list(map(int, input().split()))

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(":(")
(a, b) = list(map(int, input().split()))
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(":(")

-(a, b) = list(map(int, input().split())) +a, b = list(map(int, input().split()))