object Main extends App {
  val scanner = new java.util.Scanner(System.in)
  val a = scanner.nextInt
  val b = scanner.nextInt
  val c = scanner.nextInt

  val result =
    if(a < b) {
      if(b < c) {
        "Yes"
      } else {
        "No"
      }
    } else {
      "No"
    }

  println(result)
}