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