/**
  * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_B
  * ??????
  * ???????????´??°a, b, c?????????????????????????????? a < b < c????????¶????????????????????°"Yes"?????????????????????????????°"No"???????????????????????°?????????????????????????????????
  */
object Main {
  def main(args: Array[String]): Unit = {
    val seq = io.StdIn.readLine().split(" +").map(_.toInt).toSeq
    val (a, b, c) = seq match {
      case Seq(x, y, z) => (x, y, z)
    }
    val answer = if (a < b && b < c) {
      "Yes"
    } else {
      "No"
    }
    println(answer)
  }
}