#!/usr/bin/env python3



import re



a = []

for i in range(6):

    b = int(eval(input()))

    a.append(b)



count = 0

for i in range(5):

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

        if(a[j] - a[i] > a[5]):

            count += 1

        else:

            pass

if(count == 0):

    print("Yay!")

else:

    print(":(")

#!/usr/bin/env python3

#ABC123 A



LI = [int(eval(input())) for _ in range(6)]

K = LI[-1]



for i in range(1,5):

    for j in range(i):

        if LI[i] - LI[j] > K:

            print(':(')

            exit()

print('Yay!')

#!/usr/bin/env python3
import re

a = []
for i in range(6):
    b = int(eval(input()))
    a.append(b)
count = 0
for i in range(5):
    for j in range(i + 1, 5):
        if a[j] - a[i] > a[5]:
            count += 1
        else:
            pass
if count == 0:
    print("Yay!")
else:
    print(":(")

#!/usr/bin/env python3
# ABC123 A
LI = [int(eval(input())) for _ in range(6)]
K = LI[-1]
for i in range(1, 5):
    for j in range(i):
        if LI[i] - LI[j] > K:
            print(":(")
            exit()
print("Yay!")

-import re - -a = [] -for i in range(6): -    b = int(eval(input())) -    a.append(b) -count = 0 -for i in range(5): -    for j in range(i + 1, 5): -        if a[j] - a[i] > a[5]: -            count += 1 -        else: -            pass -if count == 0: -    print("Yay!") -else: -    print(":(") +# ABC123 A +LI = [int(eval(input())) for _ in range(6)] +K = LI[-1] +for i in range(1, 5): +    for j in range(i): +        if LI[i] - LI[j] > K: +            print(":(") +            exit() +print("Yay!")