a = int(eval(input()))

b = int(eval(input()))

c = int(eval(input()))

d = int(eval(input()))

e = int(eval(input()))

k = int(eval(input()))



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

result = 'Yay!'

for i, c in enumerate(city):

    for cC in city[i + 1:len(city)]:

        if (c - cC) > k:

            result = ':('

            break;

print(result)

a = int(eval(input()))

b = int(eval(input()))

c = int(eval(input()))

d = int(eval(input()))

e = int(eval(input()))

k = int(eval(input()))



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

result = 'Yay!'

for i, c in enumerate(city):

    for u in city[i + 1:len(city)]:

        if (c - u) > k:

            result = ':('

            break;

print(result)
a = int(eval(input()))
b = int(eval(input()))
c = int(eval(input()))
d = int(eval(input()))
e = int(eval(input()))
k = int(eval(input()))
city = [e, d, c, b, a]
result = "Yay!"
for i, c in enumerate(city):
    for cC in city[i + 1 : len(city)]:
        if (c - cC) > k:
            result = ":("
            break
print(result)

a = int(eval(input()))
b = int(eval(input()))
c = int(eval(input()))
d = int(eval(input()))
e = int(eval(input()))
k = int(eval(input()))
city = [e, d, c, b, a]
result = "Yay!"
for i, c in enumerate(city):
    for u in city[i + 1 : len(city)]:
        if (c - u) > k:
            result = ":("
            break
print(result)

-    for cC in city[i + 1 : len(city)]: -        if (c - cC) > k: +    for u in city[i + 1 : len(city)]: +        if (c - u) > k: