import numpy as np



num = [] #5このアンテナ



for i in range(5): #入力

    a = eval(input())

    num.append(int(a))



k=int(eval(input()))



num.sort()



ran=num[4]-num[0]



if ran > 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()))



if(e-a <= k):

    print("Yay!")

else:

    print(":(")

import numpy as np

num = []  # 5このアンテナ
for i in range(5):  # 入力
    a = eval(input())
    num.append(int(a))
k = int(eval(input()))
num.sort()
ran = num[4] - num[0]
if ran > 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()))
if e - a <= k:
    print("Yay!")
else:
    print(":(")

-import numpy as np - -num = []  # 5このアンテナ -for i in range(5):  # 入力 -    a = eval(input()) -    num.append(int(a)) +a = int(eval(input())) +b = int(eval(input())) +c = int(eval(input())) +d = int(eval(input())) +e = int(eval(input())) -num.sort() -ran = num[4] - num[0] -if ran > k: +if e - a <= k: +    print("Yay!") +else: -else: -    print("Yay!")