import java.util.Scanner;
public class Main{

    int a,b,c;

    public void input(){
	Scanner scan = new Scanner(System.in);
	a = scan.nextInt();
        b = scan.nextInt();
	c = scan.nextInt(); 
        
    }
 


    public void output(){
	if(a < b && b < c){
         
	    System.out.println("Yes");
        }else{
	    System.out.println("No");
	}

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.output();
 }
}
   import java.util.Scanner; Scanner java.util public class Main{

    int a,b,c;

    public void input(){
	Scanner scan = new Scanner(System.in);
	a = scan.nextInt();
        b = scan.nextInt();
	c = scan.nextInt(); 
        
    }
 


    public void output(){
	if(a < b && b < c){
         
	    System.out.println("Yes");
        }else{
	    System.out.println("No");
	}

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.output();
 }
} Main int a a b b c; c public void input(){
	Scanner scan = new Scanner(System.in);
	a = scan.nextInt();
        b = scan.nextInt();
	c = scan.nextInt(); 
        
    } input {
	Scanner scan = new Scanner(System.in);
	a = scan.nextInt();
        b = scan.nextInt();
	c = scan.nextInt(); 
        
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) a = scan.nextInt() a scan.nextInt() scan.nextInt scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan c = scan.nextInt() c scan.nextInt() scan.nextInt scan public void output(){
	if(a < b && b < c){
         
	    System.out.println("Yes");
        }else{
	    System.out.println("No");
	}

      
    } output {
	if(a < b && b < c){
         
	    System.out.println("Yes");
        }else{
	    System.out.println("No");
	}

      
    } if(a < b && b < c){
         
	    System.out.println("Yes");
        }else{
	    System.out.println("No");
	} a < b && b < c a < b a b b < c b c {
         
	    System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
	    System.out.println("No");
	} System.out.println("No") System.out.println System.out System System.out "No" public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.output();
 } main {
     Main p = new Main();
     p.input();
     p.output();
 } Main p = new Main(); p new Main() p.input() p.input p p.output() p.output p String[] args args public class Main{

    int a,b,c;

    public void input(){
	Scanner scan = new Scanner(System.in);
	a = scan.nextInt();
        b = scan.nextInt();
	c = scan.nextInt(); 
        
    }
 


    public void output(){
	if(a < b && b < c){
         
	    System.out.println("Yes");
        }else{
	    System.out.println("No");
	}

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.output();
 }
} public class Main{

    int a,b,c;

    public void input(){
	Scanner scan = new Scanner(System.in);
	a = scan.nextInt();
        b = scan.nextInt();
	c = scan.nextInt(); 
        
    }
 


    public void output(){
	if(a < b && b < c){
         
	    System.out.println("Yes");
        }else{
	    System.out.println("No");
	}

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.output();
 }
} Main
import java.util.Scanner;
public class Main{

    int a,b,c;

    public void input(){
	Scanner scan = new Scanner(System.in);
	a = scan.nextInt();
        b = scan.nextInt();
	c = scan.nextInt(); 
        
    }
 


    public void output(){
	if(a < b && b < c){
         
	    System.out.println("Yes");
        }else{
	    System.out.println("No");
	}

      
    }
 public static void main(String[] args){
     Main p = new Main();
     p.input();
     p.output();
 }
}
  