A = [int(input()) for _ in range(5)]
K = int(input())

ans = "Yay!"
for i in range(5):
    for j in range(5):
        if A[i] - A[j] > K:
            ans = ":("

print(ans)

f2950d4db53d471c41c72b648ed3e72785ddc2a4
<mask token>

<mask token>
for i in range(5):
    for j in range(5):
        if A[i] - A[j] > K:
            ans = ':('
print(ans)

A = [int(input()) for _ in range(5)]
K = int(input())
ans = 'Yay!'
for i in range(5):
    for j in range(5):
        if A[i] - A[j] > K:
            ans = ':('
print(ans)

A = [int(input()) for _ in range(5)]
K = int(input())

ans = "Yay!"
for i in range(5):
    for j in range(5):
        if A[i] - A[j] > K:
            ans = ":("

print(ans)
