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