import java.util.Scanner;

public class Main {

	public static void main(String[] args){
		
		//テキスト入力クラス
		Scanner sc = new Scanner(System.in);
		
		//入力文字を取得
		int first = sc.nextInt();
		int second = sc.nextInt();
		int third = sc.nextInt();
		
		//3つの数が、条件を満たし、yesの場合
		if(first < second && second < third){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}		
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args){
		
		//テキスト入力クラス
		Scanner sc = new Scanner(System.in);
		
		//入力文字を取得
		int first = sc.nextInt();
		int second = sc.nextInt();
		int third = sc.nextInt();
		
		//3つの数が、条件を満たし、yesの場合
		if(first < second && second < third){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}		
	}
} Main public static void main(String[] args){
		
		//テキスト入力クラス
		Scanner sc = new Scanner(System.in);
		
		//入力文字を取得
		int first = sc.nextInt();
		int second = sc.nextInt();
		int third = sc.nextInt();
		
		//3つの数が、条件を満たし、yesの場合
		if(first < second && second < third){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}		
	} main {
		
		//テキスト入力クラス
		Scanner sc = new Scanner(System.in);
		
		//入力文字を取得
		int first = sc.nextInt();
		int second = sc.nextInt();
		int third = sc.nextInt();
		
		//3つの数が、条件を満たし、yesの場合
		if(first < second && second < third){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int first = sc.nextInt(); first sc.nextInt() sc.nextInt sc int second = sc.nextInt(); second sc.nextInt() sc.nextInt sc int third = sc.nextInt(); third sc.nextInt() sc.nextInt sc if(first < second && second < third){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		} first < second && second < third first < second first second second < third second third {
			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 public class Main {

	public static void main(String[] args){
		
		//テキスト入力クラス
		Scanner sc = new Scanner(System.in);
		
		//入力文字を取得
		int first = sc.nextInt();
		int second = sc.nextInt();
		int third = sc.nextInt();
		
		//3つの数が、条件を満たし、yesの場合
		if(first < second && second < third){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}		
	}
} public class Main {

	public static void main(String[] args){
		
		//テキスト入力クラス
		Scanner sc = new Scanner(System.in);
		
		//入力文字を取得
		int first = sc.nextInt();
		int second = sc.nextInt();
		int third = sc.nextInt();
		
		//3つの数が、条件を満たし、yesの場合
		if(first < second && second < third){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}		
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args){
		
		//テキスト入力クラス
		Scanner sc = new Scanner(System.in);
		
		//入力文字を取得
		int first = sc.nextInt();
		int second = sc.nextInt();
		int third = sc.nextInt();
		
		//3つの数が、条件を満たし、yesの場合
		if(first < second && second < third){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}		
	}
}