object Main{
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val a = sc.nextInt
    val b = sc.nextInt
    val c = sc.nextInt
    if (isSorted(a, b, c)) println("Yes") else println("No")
  }
  def isSorted(a: Int, b: Int, c: Int) = {
    if (a < b && b < c) true else false
  }
}