import java.util.Scanner;


class Main {
	public static void main(String args[]) {
		
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    int a = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    int b = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    int c = Integer.parseInt(s3);
	    if( a < b && b < c){
	        System.out.println( "Yes" );
    	}
	    else{
	    	System.out.println( "No" );
	    }
	}

} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String args[]) {
		
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    int a = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    int b = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    int c = Integer.parseInt(s3);
	    if( a < b && b < c){
	        System.out.println( "Yes" );
    	}
	    else{
	    	System.out.println( "No" );
	    }
	}

} Main public static void main(String args[]) {
		
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    int a = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    int b = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    int c = Integer.parseInt(s3);
	    if( a < b && b < c){
	        System.out.println( "Yes" );
    	}
	    else{
	    	System.out.println( "No" );
	    }
	} main {
		
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    int a = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    int b = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    int c = Integer.parseInt(s3);
	    if( a < b && b < c){
	        System.out.println( "Yes" );
    	}
	    else{
	    	System.out.println( "No" );
	    }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String  s1 = sc.next(); s1 sc.next() sc.next sc int a = Integer.parseInt(s1); a Integer.parseInt(s1) Integer.parseInt Integer s1 String  s2 = sc.next(); s2 sc.next() sc.next sc int b = Integer.parseInt(s2); b Integer.parseInt(s2) Integer.parseInt Integer s2 String  s3 = sc.next(); s3 sc.next() sc.next sc int c = Integer.parseInt(s3); c Integer.parseInt(s3) Integer.parseInt Integer s3 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" String args[] args
import java.util.Scanner;


class Main {
	public static void main(String args[]) {
		
	    Scanner sc = new Scanner(System.in);
	    String  s1 = sc.next();
	    int a = Integer.parseInt(s1);
	    String  s2 = sc.next();
	    int b = Integer.parseInt(s2);
	    String  s3 = sc.next();
	    int c = Integer.parseInt(s3);
	    if( a < b && b < c){
	        System.out.println( "Yes" );
    	}
	    else{
	    	System.out.println( "No" );
	    }
	}

}