import scala.io.StdIn._
object Main {
	def main(args :Array[String]) = {
		var mtrl = readf("{0} {1} {2}")
		val Buff =  mtrl.map(_.toString.toInt)
		if (Buff(0) < Buff(1)){
			if (Buff(1) < Buff(2)) println("Yes")
			else println("No")
		}
		else println("No")
		println(Buff)
	}
}