import java.util.*;
public class Main {
   public static void main(String args[]){
      //declaration and initialization
      Scanner sc = new Scanner(System.in);
      String input[];
      
      //variables for each problem
      String answer;
      int a;
      int b;
      int c;
      
      //reading the intput
      input = sc.nextLine().split(" ",0);
      
      //assginment
      a = Integer.parseInt(input[0]);
      b = Integer.parseInt(input[1]);
      c = Integer.parseInt(input[2]);
      
      //evaluation
      if(a >= b){
         answer = "No";
      }else if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      }
      
     //output
     System.out.println(answer);
      
      
      
   }//main
      
}//class import java.util.*; util.* java public class Main {
   public static void main(String args[]){
      //declaration and initialization
      Scanner sc = new Scanner(System.in);
      String input[];
      
      //variables for each problem
      String answer;
      int a;
      int b;
      int c;
      
      //reading the intput
      input = sc.nextLine().split(" ",0);
      
      //assginment
      a = Integer.parseInt(input[0]);
      b = Integer.parseInt(input[1]);
      c = Integer.parseInt(input[2]);
      
      //evaluation
      if(a >= b){
         answer = "No";
      }else if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      }
      
     //output
     System.out.println(answer);
      
      
      
   }//main
      
}//class Main public static void main(String args[]){
      //declaration and initialization
      Scanner sc = new Scanner(System.in);
      String input[];
      
      //variables for each problem
      String answer;
      int a;
      int b;
      int c;
      
      //reading the intput
      input = sc.nextLine().split(" ",0);
      
      //assginment
      a = Integer.parseInt(input[0]);
      b = Integer.parseInt(input[1]);
      c = Integer.parseInt(input[2]);
      
      //evaluation
      if(a >= b){
         answer = "No";
      }else if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      }
      
     //output
     System.out.println(answer);
      
      
      
   }//main main {
      //declaration and initialization
      Scanner sc = new Scanner(System.in);
      String input[];
      
      //variables for each problem
      String answer;
      int a;
      int b;
      int c;
      
      //reading the intput
      input = sc.nextLine().split(" ",0);
      
      //assginment
      a = Integer.parseInt(input[0]);
      b = Integer.parseInt(input[1]);
      c = Integer.parseInt(input[2]);
      
      //evaluation
      if(a >= b){
         answer = "No";
      }else if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      }
      
     //output
     System.out.println(answer);
      
      
      
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String input[]; input String answer; answer int a; a int b; b int c; c input = sc.nextLine().split(" ",0) input sc.nextLine().split(" ",0) sc.nextLine().split sc.nextLine() sc.nextLine sc " " 0 a = Integer.parseInt(input[0]) a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 b = Integer.parseInt(input[1]) b Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 c = Integer.parseInt(input[2]) c Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 if(a >= b){
         answer = "No";
      }else if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      } a >= b a b {
         answer = "No";
      } answer = "No" answer "No" if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      } b >= c b c {
         answer = "No";
      } answer = "No" answer "No" {
         answer = "Yes";
      } answer = "Yes" answer "Yes" System.out.println(answer) System.out.println System.out System System.out answer String args[] args public class Main {
   public static void main(String args[]){
      //declaration and initialization
      Scanner sc = new Scanner(System.in);
      String input[];
      
      //variables for each problem
      String answer;
      int a;
      int b;
      int c;
      
      //reading the intput
      input = sc.nextLine().split(" ",0);
      
      //assginment
      a = Integer.parseInt(input[0]);
      b = Integer.parseInt(input[1]);
      c = Integer.parseInt(input[2]);
      
      //evaluation
      if(a >= b){
         answer = "No";
      }else if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      }
      
     //output
     System.out.println(answer);
      
      
      
   }//main
      
}//class public class Main {
   public static void main(String args[]){
      //declaration and initialization
      Scanner sc = new Scanner(System.in);
      String input[];
      
      //variables for each problem
      String answer;
      int a;
      int b;
      int c;
      
      //reading the intput
      input = sc.nextLine().split(" ",0);
      
      //assginment
      a = Integer.parseInt(input[0]);
      b = Integer.parseInt(input[1]);
      c = Integer.parseInt(input[2]);
      
      //evaluation
      if(a >= b){
         answer = "No";
      }else if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      }
      
     //output
     System.out.println(answer);
      
      
      
   }//main
      
}//class Main
import java.util.*;
public class Main {
   public static void main(String args[]){
      //declaration and initialization
      Scanner sc = new Scanner(System.in);
      String input[];
      
      //variables for each problem
      String answer;
      int a;
      int b;
      int c;
      
      //reading the intput
      input = sc.nextLine().split(" ",0);
      
      //assginment
      a = Integer.parseInt(input[0]);
      b = Integer.parseInt(input[1]);
      c = Integer.parseInt(input[2]);
      
      //evaluation
      if(a >= b){
         answer = "No";
      }else if(b >= c){
         answer = "No";
      }else{
         answer = "Yes";
      }
      
     //output
     System.out.println(answer);
      
      
      
   }//main
      
}//class