let () =
  let sl = Str.split (Str.regexp " ") (read_line ()) in
  let il = List.map int_of_string sl in
  let (a, b, c) = (List.nth il 0), (List.nth il 1), (List.nth il 2) in
  let result = if (a < b && b < c) then "Yes" else "No" in
  Printf.printf	"%s\n" result