program main
  implicit none
  integer :: a(5),k
  integer :: distance
  integer :: i,j
  do i = 1,5
     read(*,*) a(i)
  end do
  read(*,*) k
  do i = 1,4
     do j=i+1,5
        distance = a(j)-a(i)
        if ( k >= distance) then
           cycle
        else
           write(*,'(a)')':('
           stop
        end if
     end do
  end do
  write(*,'(a)')'Yay!'
  stop
contains
  
end program main
