# -*- coding: utf-8 -*-

l = []



for i in range(5):

    b = int(eval(input()))

    l.append(b)



k = int(eval(input()))



a = []

for i in range(4):

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

        ans = l[j]-l[i]

        a.append(ans)



b = 0



for i in range(10):

    if a[i]>k:

        b = 1

        break



if b == 1:

    print(':(')

elif b == 0:

    print('Yay!')
# -*- coding: utf-8 -*-



L = []

for i in range(5):

    a = int(eval(input()))

    L.append(a)



K = int(eval(input()))



if L[4]-L[0]<=K:

    ans = 'Yay!'

else:

    ans = ':('



print(ans)
# -*- coding: utf-8 -*-
l = []
for i in range(5):
    b = int(eval(input()))
    l.append(b)
k = int(eval(input()))
a = []
for i in range(4):
    for j in range(i + 1, 5):
        ans = l[j] - l[i]
        a.append(ans)
b = 0
for i in range(10):
    if a[i] > k:
        b = 1
        break
if b == 1:
    print(":(")
elif b == 0:
    print("Yay!")

# -*- coding: utf-8 -*-
L = []
for i in range(5):
    a = int(eval(input()))
    L.append(a)
K = int(eval(input()))
if L[4] - L[0] <= K:
    ans = "Yay!"
else:
    ans = ":("
print(ans)

-l = [] +L = [] -    b = int(eval(input())) -    l.append(b) -k = int(eval(input())) -a = [] -for i in range(4): -    for j in range(i + 1, 5): -        ans = l[j] - l[i] -        a.append(ans) -b = 0 -for i in range(10): -    if a[i] > k: -        b = 1 -        break -if b == 1: -    print(":(") -elif b == 0: -    print("Yay!") +    a = int(eval(input())) +    L.append(a) +K = int(eval(input())) +if L[4] - L[0] <= K: +    ans = "Yay!" +else: +    ans = ":(" +print(ans)