l = [int(eval(input())) for _ in range(5)]

k = int(eval(input()))

print(('Yay!' if k >= max(l) - min(l) else ':('))
l = [int(eval(input())) for _ in range(5)]

k = int(eval(input()))

print(('Yay!' if k >= l[4] - l[0] else ':('))

l = [int(eval(input())) for _ in range(5)]
k = int(eval(input()))
print(("Yay!" if k >= max(l) - min(l) else ":("))

l = [int(eval(input())) for _ in range(5)]
k = int(eval(input()))
print(("Yay!" if k >= l[4] - l[0] else ":("))

-print(("Yay!" if k >= max(l) - min(l) else ":(")) +print(("Yay!" if k >= l[4] - l[0] else ":("))