program main
  implicit none
  integer :: i, k, ant(5)

  do i = 1, 5
    read *, ant(i)
  end do
  read *, k

  if (maxval(ant) - minval(ant) > k) then
    print '(a)', ':('
  else
    print '(a)', 'Yay!'
  end if
end program