import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		String ans = null;
		if (a < b && b < c) {
			ans = "Yes";
		} else {
			ans = "No";
		}
		System.out.println(ans);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		String ans = null;
		if (a < b && b < c) {
			ans = "Yes";
		} else {
			ans = "No";
		}
		System.out.println(ans);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		String ans = null;
		if (a < b && b < c) {
			ans = "Yes";
		} else {
			ans = "No";
		}
		System.out.println(ans);
	} main {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		String ans = null;
		if (a < b && b < c) {
			ans = "Yes";
		} else {
			ans = "No";
		}
		System.out.println(ans);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner scanner.close() scanner.close scanner String ans = null; ans null if (a < b && b < c) {
			ans = "Yes";
		} else {
			ans = "No";
		} a < b && b < c a < b a b b < c b c {
			ans = "Yes";
		} ans = "Yes" ans "Yes" {
			ans = "No";
		} ans = "No" ans "No" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		String ans = null;
		if (a < b && b < c) {
			ans = "Yes";
		} else {
			ans = "No";
		}
		System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		String ans = null;
		if (a < b && b < c) {
			ans = "Yes";
		} else {
			ans = "No";
		}
		System.out.println(ans);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		scanner.close();
		String ans = null;
		if (a < b && b < c) {
			ans = "Yes";
		} else {
			ans = "No";
		}
		System.out.println(ans);
	}
}