let moves attack defence =
  (defence / attack) + (if defence mod attack == 0 then 0 else 1)

let () =
  let (h1, s1, h2, s2) = Scanf.scanf "%d %d %d %d" (fun a b c d -> a, b, c, d) in
  let s1 = moves s1 h2 in
  let s2 = moves s2 h1 in
  print_string (if s1 <= s2 then "Yes" else "No")
