program main
  implicit none
  integer :: HP(2)
  integer :: AT(2)
  
  read(*,*)  HP(1),AT(1),HP(2),AT(2)

  do
     HP(2) = HP(2) - AT(1)
     if (HP(2) <= 0) then
        write(*,'(a)') 'Yes'
        stop
     end if
     HP(1) = HP(1) - AT(2)
     if (HP(1) <= 0) then
        write(*,'(a)') 'No'
        stop
     end if
  end do
  
end program main
