a = int(eval(input()))

b = int(eval(input()))

c = int(eval(input()))

d = int(eval(input()))

e = int(eval(input()))

k = int(eval(input()))

ant = [a, b, c, d, e]

f = False



for i in range(0, 5):

    for ii in range(i + 1, 5):

        sa = ant[i] - ant[ii]

        if -sa <= k:

            continue

        else:

            print(":(")

            f = True

            break

    break



if f is False:

    print("Yay!")

a = int(eval(input()))

b = int(eval(input()))

c = int(eval(input()))

d = int(eval(input()))

e = int(eval(input()))

k = int(eval(input()))



if e-a > k:

    print(":(")

else:

    print("Yay!")
a = int(eval(input()))
b = int(eval(input()))
c = int(eval(input()))
d = int(eval(input()))
e = int(eval(input()))
k = int(eval(input()))
ant = [a, b, c, d, e]
f = False
for i in range(0, 5):
    for ii in range(i + 1, 5):
        sa = ant[i] - ant[ii]
        if -sa <= k:
            continue
        else:
            print(":(")
            f = True
            break
    break
if f is False:
    print("Yay!")

a = int(eval(input()))
b = int(eval(input()))
c = int(eval(input()))
d = int(eval(input()))
e = int(eval(input()))
k = int(eval(input()))
if e - a > k:
    print(":(")
else:
    print("Yay!")

-ant = [a, b, c, d, e] -f = False -for i in range(0, 5): -    for ii in range(i + 1, 5): -        sa = ant[i] - ant[ii] -        if -sa <= k: -            continue -        else: -            print(":(") -            f = True -            break -    break -if f is False: +if e - a > k: +    print(":(") +else: