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



if a > 8 or b > 8:

    print(':(')

else:

    print('Yay!')

parameters = list(map(int, input().split()))



if(parameters[0] <= 8 and parameters[1] <= 8):

    print('Yay!')

else:

    print(':(')
a, b = list(map(int, input().split()))
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")

parameters = list(map(int, input().split()))
if parameters[0] <= 8 and parameters[1] <= 8:
    print("Yay!")
else:
    print(":(")

-a, b = list(map(int, input().split())) -if a > 8 or b > 8: +parameters = list(map(int, input().split())) +if parameters[0] <= 8 and parameters[1] <= 8: +    print("Yay!") +else: -else: -    print("Yay!")