Scanf.scanf "%d %d %c" (fun s t c -> print_endline @@ if (if c = '<' then (<) else if c = '>' then (>) else (=)) s t then "YES" else "NO" )