Scanf.scanf "%d.%d.%d %d.%d.%d" (fun a0 b0 c0 a1 b1 c1 -> print_endline @@ if (a0 * 200 + b0) * 200 + c0 >= (a1 * 200 + b1) * 200 + c1 then "YES" else "NO" )