import java.util.Scanner;
public class Main
{
	public static void main(String[] args){
		//3????????´??°???????????????
		Scanner scan = new Scanner(System.in);
		int a;
		int b;
		int c;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		yesNo(a, b, c);
	}

	//a<b<c??§Yes???????????????????????????
	public static void yesNo(int a,int b, int c){
		String ans = "No";
		if(a < b){
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		}
		System.out.println(ans);
	}
} import java.util.Scanner; Scanner java.util public class Main
{
	public static void main(String[] args){
		//3????????´??°???????????????
		Scanner scan = new Scanner(System.in);
		int a;
		int b;
		int c;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		yesNo(a, b, c);
	}

	//a<b<c??§Yes???????????????????????????
	public static void yesNo(int a,int b, int c){
		String ans = "No";
		if(a < b){
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		}
		System.out.println(ans);
	}
} Main public static void main(String[] args){
		//3????????´??°???????????????
		Scanner scan = new Scanner(System.in);
		int a;
		int b;
		int c;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		yesNo(a, b, c);
	} main {
		//3????????´??°???????????????
		Scanner scan = new Scanner(System.in);
		int a;
		int b;
		int c;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		yesNo(a, b, c);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a; a int b; b int c; c 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 yesNo(a, b, c) yesNo a b c String[] args args //a<b<c??§Yes???????????????????????????
	public static void yesNo(int a,int b, int c){
		String ans = "No";
		if(a < b){
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		}
		System.out.println(ans);
	} yesNo {
		String ans = "No";
		if(a < b){
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		}
		System.out.println(ans);
	} String ans = "No"; ans "No" if(a < b){
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		} a < b a b {
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		} ans = "No" ans "No" if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			} a < c a c {
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			} ans = "No" ans "No" if(b < c){
					ans = "Yes";
				} b < c b c {
					ans = "Yes";
				} ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans int a a int b b int c c public class Main
{
	public static void main(String[] args){
		//3????????´??°???????????????
		Scanner scan = new Scanner(System.in);
		int a;
		int b;
		int c;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		yesNo(a, b, c);
	}

	//a<b<c??§Yes???????????????????????????
	public static void yesNo(int a,int b, int c){
		String ans = "No";
		if(a < b){
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		}
		System.out.println(ans);
	}
} public class Main
{
	public static void main(String[] args){
		//3????????´??°???????????????
		Scanner scan = new Scanner(System.in);
		int a;
		int b;
		int c;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		yesNo(a, b, c);
	}

	//a<b<c??§Yes???????????????????????????
	public static void yesNo(int a,int b, int c){
		String ans = "No";
		if(a < b){
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		}
		System.out.println(ans);
	}
} Main
import java.util.Scanner;
public class Main
{
	public static void main(String[] args){
		//3????????´??°???????????????
		Scanner scan = new Scanner(System.in);
		int a;
		int b;
		int c;
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		yesNo(a, b, c);
	}

	//a<b<c??§Yes???????????????????????????
	public static void yesNo(int a,int b, int c){
		String ans = "No";
		if(a < b){
			ans = "No";
			if(a < c){
				ans = "No";
				if(b < c){
					ans = "Yes";
				}
			}
		}
		System.out.println(ans);
	}
}