import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static String compare(String integers) {
		String[] integerss = integers.split(" ");
		int a = Integer.parseInt(integerss[0]);
		int b = Integer.parseInt(integerss[1]);
		int c = Integer.parseInt(integerss[2]);
		if (a < b && b < c) {
			return "Yes";
		}
		return "No";
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static String compare(String integers) {
		String[] integerss = integers.split(" ");
		int a = Integer.parseInt(integerss[0]);
		int b = Integer.parseInt(integerss[1]);
		int c = Integer.parseInt(integerss[2]);
		if (a < b && b < c) {
			return "Yes";
		}
		return "No";
	}
} Main public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} catch (Exception e) {
			e.printStackTrace();
		}
	} main {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} catch (Exception e) {
			e.printStackTrace();
		}
	} try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} catch (Exception e) {
			e.printStackTrace();
		} catch (Exception e) {
			e.printStackTrace();
		} Exception e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String integers = br.readLine(); integers br.readLine() br.readLine br System.out.println(compare(integers)) System.out.println System.out System System.out compare(integers) compare integers String[] args args private static String compare(String integers) {
		String[] integerss = integers.split(" ");
		int a = Integer.parseInt(integerss[0]);
		int b = Integer.parseInt(integerss[1]);
		int c = Integer.parseInt(integerss[2]);
		if (a < b && b < c) {
			return "Yes";
		}
		return "No";
	} compare {
		String[] integerss = integers.split(" ");
		int a = Integer.parseInt(integerss[0]);
		int b = Integer.parseInt(integerss[1]);
		int c = Integer.parseInt(integerss[2]);
		if (a < b && b < c) {
			return "Yes";
		}
		return "No";
	} String[] integerss = integers.split(" "); integerss integers.split(" ") integers.split integers " " int a = Integer.parseInt(integerss[0]); a Integer.parseInt(integerss[0]) Integer.parseInt Integer integerss[0] integerss 0 int b = Integer.parseInt(integerss[1]); b Integer.parseInt(integerss[1]) Integer.parseInt Integer integerss[1] integerss 1 int c = Integer.parseInt(integerss[2]); c Integer.parseInt(integerss[2]) Integer.parseInt Integer integerss[2] integerss 2 if (a < b && b < c) {
			return "Yes";
		} a < b && b < c a < b a b b < c b c {
			return "Yes";
		} return "Yes"; "Yes" return "No"; "No" String integers integers public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static String compare(String integers) {
		String[] integerss = integers.split(" ");
		int a = Integer.parseInt(integerss[0]);
		int b = Integer.parseInt(integerss[1]);
		int c = Integer.parseInt(integerss[2]);
		if (a < b && b < c) {
			return "Yes";
		}
		return "No";
	}
} public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static String compare(String integers) {
		String[] integerss = integers.split(" ");
		int a = Integer.parseInt(integerss[0]);
		int b = Integer.parseInt(integerss[1]);
		int c = Integer.parseInt(integerss[2]);
		if (a < b && b < c) {
			return "Yes";
		}
		return "No";
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String integers = br.readLine();
			System.out.println(compare(integers));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static String compare(String integers) {
		String[] integerss = integers.split(" ");
		int a = Integer.parseInt(integerss[0]);
		int b = Integer.parseInt(integerss[1]);
		int c = Integer.parseInt(integerss[2]);
		if (a < b && b < c) {
			return "Yes";
		}
		return "No";
	}
}
