*A, k = [int(eval(input())) for _ in range(6)]



for ai in A:

    for aj in A:

        if abs(aj - ai) > k:

            print(":(")

            quit()

print("Yay!")
*A, k = [int(eval(input())) for _ in range(6)]

if abs(A[0] - A[-1]) > k:

    print(":(")

else:

    print("Yay!")

*A, k = [int(eval(input())) for _ in range(6)]
for ai in A:
    for aj in A:
        if abs(aj - ai) > k:
            print(":(")
            quit()
print("Yay!")

*A, k = [int(eval(input())) for _ in range(6)]
if abs(A[0] - A[-1]) > k:
    print(":(")
else:
    print("Yay!")

-for ai in A: -    for aj in A: -        if abs(aj - ai) > k: -            print(":(") -            quit() -print("Yay!") +if abs(A[0] - A[-1]) > k: +    print(":(") +else: +    print("Yay!")