object Main {
  def main(args: Array[String]): Unit = {
    val abc = io.StdIn.readLine().split(" ").map(_.toInt)
    val answer =
      if (abc zip abc.tail forall { case (l, r) => l < r }) {
        "Yes"
      } else {
        "No"
      }
    println(answer)
  }
}