import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int num1 = kbScanner.nextInt();
		int num2 = kbScanner.nextInt();
		int num3 = kbScanner.nextInt();
		String answer = "No";
		
		if(num1 < num2 && num2 < num3){
			answer = "Yes";
		}
		
		System.out.println(answer);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int num1 = kbScanner.nextInt();
		int num2 = kbScanner.nextInt();
		int num3 = kbScanner.nextInt();
		String answer = "No";
		
		if(num1 < num2 && num2 < num3){
			answer = "Yes";
		}
		
		System.out.println(answer);
	}
} Main public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int num1 = kbScanner.nextInt();
		int num2 = kbScanner.nextInt();
		int num3 = kbScanner.nextInt();
		String answer = "No";
		
		if(num1 < num2 && num2 < num3){
			answer = "Yes";
		}
		
		System.out.println(answer);
	} main {
		Scanner kbScanner = new Scanner(System.in);
		
		int num1 = kbScanner.nextInt();
		int num2 = kbScanner.nextInt();
		int num3 = kbScanner.nextInt();
		String answer = "No";
		
		if(num1 < num2 && num2 < num3){
			answer = "Yes";
		}
		
		System.out.println(answer);
	} Scanner kbScanner = new Scanner(System.in); kbScanner new Scanner(System.in) int num1 = kbScanner.nextInt(); num1 kbScanner.nextInt() kbScanner.nextInt kbScanner int num2 = kbScanner.nextInt(); num2 kbScanner.nextInt() kbScanner.nextInt kbScanner int num3 = kbScanner.nextInt(); num3 kbScanner.nextInt() kbScanner.nextInt kbScanner String answer = "No"; answer "No" if(num1 < num2 && num2 < num3){
			answer = "Yes";
		} num1 < num2 && num2 < num3 num1 < num2 num1 num2 num2 < num3 num2 num3 {
			answer = "Yes";
		} answer = "Yes" answer "Yes" System.out.println(answer) System.out.println System.out System System.out answer String[] args args public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int num1 = kbScanner.nextInt();
		int num2 = kbScanner.nextInt();
		int num3 = kbScanner.nextInt();
		String answer = "No";
		
		if(num1 < num2 && num2 < num3){
			answer = "Yes";
		}
		
		System.out.println(answer);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int num1 = kbScanner.nextInt();
		int num2 = kbScanner.nextInt();
		int num3 = kbScanner.nextInt();
		String answer = "No";
		
		if(num1 < num2 && num2 < num3){
			answer = "Yes";
		}
		
		System.out.println(answer);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int num1 = kbScanner.nextInt();
		int num2 = kbScanner.nextInt();
		int num3 = kbScanner.nextInt();
		String answer = "No";
		
		if(num1 < num2 && num2 < num3){
			answer = "Yes";
		}
		
		System.out.println(answer);
	}
}