import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] split = line.split(" ");
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		int c = Integer.parseInt(split[2]);
		String output = null;
		if (a < b && b < c) {
			output = "Yes";
		} else {
			output = "No";
		}
		System.out.println(output);
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] split = line.split(" ");
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		int c = Integer.parseInt(split[2]);
		String output = null;
		if (a < b && b < c) {
			output = "Yes";
		} else {
			output = "No";
		}
		System.out.println(output);
		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] split = line.split(" ");
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		int c = Integer.parseInt(split[2]);
		String output = null;
		if (a < b && b < c) {
			output = "Yes";
		} else {
			output = "No";
		}
		System.out.println(output);
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] split = line.split(" ");
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		int c = Integer.parseInt(split[2]);
		String output = null;
		if (a < b && b < c) {
			output = "Yes";
		} else {
			output = "No";
		}
		System.out.println(output);
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] split = line.split(" "); split line.split(" ") line.split line " " int a = Integer.parseInt(split[0]); a Integer.parseInt(split[0]) Integer.parseInt Integer split[0] split 0 int b = Integer.parseInt(split[1]); b Integer.parseInt(split[1]) Integer.parseInt Integer split[1] split 1 int c = Integer.parseInt(split[2]); c Integer.parseInt(split[2]) Integer.parseInt Integer split[2] split 2 String output = null; output null if (a < b && b < c) {
			output = "Yes";
		} else {
			output = "No";
		} a < b && b < c a < b a b b < c b c {
			output = "Yes";
		} output = "Yes" output "Yes" {
			output = "No";
		} output = "No" output "No" System.out.println(output) System.out.println System.out System System.out output sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] split = line.split(" ");
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		int c = Integer.parseInt(split[2]);
		String output = null;
		if (a < b && b < c) {
			output = "Yes";
		} else {
			output = "No";
		}
		System.out.println(output);
		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] split = line.split(" ");
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		int c = Integer.parseInt(split[2]);
		String output = null;
		if (a < b && b < c) {
			output = "Yes";
		} else {
			output = "No";
		}
		System.out.println(output);
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] split = line.split(" ");
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);
		int c = Integer.parseInt(split[2]);
		String output = null;
		if (a < b && b < c) {
			output = "Yes";
		} else {
			output = "No";
		}
		System.out.println(output);
		sc.close();
	}
}