import java.util.Scanner;

class Main{
     public static void main(String[] args){

        Scanner as = new Scanner(System.in);
        int a = as.nextInt();
        int b = as.nextInt();
        int c = as.nextInt();

        if(a>=b){
          
 
        System.out.println("No");
         }
        else if(b>=c){
        
        System.out.println("No");
             
               }
             else{
                 
                  System.out.println("Yes");
              }
 
 
   }
 
 
} import java.util.Scanner; Scanner java.util class Main{
     public static void main(String[] args){

        Scanner as = new Scanner(System.in);
        int a = as.nextInt();
        int b = as.nextInt();
        int c = as.nextInt();

        if(a>=b){
          
 
        System.out.println("No");
         }
        else if(b>=c){
        
        System.out.println("No");
             
               }
             else{
                 
                  System.out.println("Yes");
              }
 
 
   }
 
 
} Main public static void main(String[] args){

        Scanner as = new Scanner(System.in);
        int a = as.nextInt();
        int b = as.nextInt();
        int c = as.nextInt();

        if(a>=b){
          
 
        System.out.println("No");
         }
        else if(b>=c){
        
        System.out.println("No");
             
               }
             else{
                 
                  System.out.println("Yes");
              }
 
 
   } main {

        Scanner as = new Scanner(System.in);
        int a = as.nextInt();
        int b = as.nextInt();
        int c = as.nextInt();

        if(a>=b){
          
 
        System.out.println("No");
         }
        else if(b>=c){
        
        System.out.println("No");
             
               }
             else{
                 
                  System.out.println("Yes");
              }
 
 
   } Scanner as = new Scanner(System.in); as new Scanner(System.in) int a = as.nextInt(); a as.nextInt() as.nextInt as int b = as.nextInt(); b as.nextInt() as.nextInt as int c = as.nextInt(); c as.nextInt() as.nextInt as if(a>=b){
          
 
        System.out.println("No");
         }
        else if(b>=c){
        
        System.out.println("No");
             
               }
             else{
                 
                  System.out.println("Yes");
              } a>=b a b {
          
 
        System.out.println("No");
         } System.out.println("No") System.out.println System.out System System.out "No" if(b>=c){
        
        System.out.println("No");
             
               }
             else{
                 
                  System.out.println("Yes");
              } b>=c b c {
        
        System.out.println("No");
             
               } System.out.println("No") System.out.println System.out System System.out "No" {
                 
                  System.out.println("Yes");
              } System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args
import java.util.Scanner;

class Main{
     public static void main(String[] args){

        Scanner as = new Scanner(System.in);
        int a = as.nextInt();
        int b = as.nextInt();
        int c = as.nextInt();

        if(a>=b){
          
 
        System.out.println("No");
         }
        else if(b>=c){
        
        System.out.println("No");
             
               }
             else{
                 
                  System.out.println("Yes");
              }
 
 
   }
 
 
}