arr = []
5.times{arr << gets.to_i}
k = gets.to_i

ok = true
for i in 0..3
    for j in (i+1)..4
        if arr[j] - arr[i] > k
            ok = false
            break
        end
    end
    break if !ok
end
puts ok ? "Yay!" : ":("