import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int input_a = scan.nextInt();
		int input_b = scan.nextInt();
		int input_c = scan.nextInt();
		
		if(input_a < input_b && input_b < input_c){
			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 scan = new Scanner(System.in);
		int input_a = scan.nextInt();
		int input_b = scan.nextInt();
		int input_c = scan.nextInt();
		
		if(input_a < input_b && input_b < input_c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
		
	}

} Main public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int input_a = scan.nextInt();
		int input_b = scan.nextInt();
		int input_c = scan.nextInt();
		
		if(input_a < input_b && input_b < input_c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
		
	} main {
		
		Scanner scan = new Scanner(System.in);
		int input_a = scan.nextInt();
		int input_b = scan.nextInt();
		int input_c = scan.nextInt();
		
		if(input_a < input_b && input_b < input_c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int input_a = scan.nextInt(); input_a scan.nextInt() scan.nextInt scan int input_b = scan.nextInt(); input_b scan.nextInt() scan.nextInt scan int input_c = scan.nextInt(); input_c scan.nextInt() scan.nextInt scan if(input_a < input_b && input_b < input_c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		} input_a < input_b && input_b < input_c input_a < input_b input_a input_b input_b < input_c input_b input_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 public class Main {

	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int input_a = scan.nextInt();
		int input_b = scan.nextInt();
		int input_c = scan.nextInt();
		
		if(input_a < input_b && input_b < input_c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
		
	}

} public class Main {

	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int input_a = scan.nextInt();
		int input_b = scan.nextInt();
		int input_c = scan.nextInt();
		
		if(input_a < input_b && input_b < input_c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
		
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
		int input_a = scan.nextInt();
		int input_b = scan.nextInt();
		int input_c = scan.nextInt();
		
		if(input_a < input_b && input_b < input_c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
		
	}

}