a=int(eval(input()))

eval(input());eval(input());eval(input());

e=int(eval(input()))

k=int(eval(input()))

print(("Yay!" if k>=e-a else ":("))
a,b,c,d,e,k=list(map(int,open(0)))

print(((":(","Yay!")[e-a<=k]))
a = int(eval(input()))
eval(input())
eval(input())
eval(input())
e = int(eval(input()))
k = int(eval(input()))
print(("Yay!" if k >= e - a else ":("))

a, b, c, d, e, k = list(map(int, open(0)))
print(((":(", "Yay!")[e - a <= k]))

-a = int(eval(input())) -eval(input()) -eval(input()) -eval(input()) -e = int(eval(input())) -k = int(eval(input())) -print(("Yay!" if k >= e - a else ":(")) +a, b, c, d, e, k = list(map(int, open(0))) +print(((":(", "Yay!")[e - a <= k]))