object Main{
  def comparision(a:Int,b:Int,c:Int):Unit={
    if(a < b && b < c)println("Yes")
    else println("No")
  }
  def main(args:Array[String]){
    var sc = new java.util.Scanner(System.in)
    var a = sc.nextInt
    var b = sc.nextInt
    var c = sc.nextInt
    comparision(a,b,c)
  }
} 