object Main {
    def main(args:Array[String]) = {
        val in = readLine.split(" ").map(_.toInt) 
        if(in(0)<in(1)&&in(1)<in(2)){
          println("Yes")
        }
        else{
          println("No")
        }
    }
}