let circle_in_rectangle w h x y r =
  let borders_of_circle = [(x - r, y); (x + r, y); (x, y - r); (x, y + r)] in
  let rec point_in_rectangle = function
      [] -> true
    | first :: rest -> (match first with
                          (a, b) -> (0 <= a && a <= w) && (0 <= b && b <= h) &&
                                     (point_in_rectangle rest))
  in
  if point_in_rectangle borders_of_circle then "Yes"
  else "No" ;;

let f s = Scanf.sscanf s "%d %d %d %d %d" circle_in_rectangle ;;
print_endline (f (read_line())) ;;
