object Main extends App{
  import scala.io.StdIn.readLine;
    val compare : (Int, Int, Int) => String = (a: Int, b: Int, c: Int) => {
      (a < b && b < c) match {
        case true => "Yes"
        case false => "No"
      }
    }
    val a = readLine().split(" ").map(_.toInt)
    println(compare(a(0), a(1), a(2)))
}

