let judge p q = if q *. (1. -. p) < p *. q *. (1. -. q) then true else false let () = let bool = Scanf.sscanf (read_line ()) "%f %f" judge in if bool = true then print_endline "YES" else print_endline "NO"