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

public class Main {

	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String buffer;
		try {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String buffer;
		try {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String buffer;
		try {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String buffer;
		try {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String buffer; buffer try {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		} catch (Exception ex) {
			ex.printStackTrace();
		} Exception ex {
			ex.printStackTrace();
		} ex.printStackTrace() ex.printStackTrace ex {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			} (buffer = reader.readLine())  != null (buffer = reader.readLine()) buffer reader.readLine() reader.readLine reader null {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			} Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" "))); a Integer.valueOf(buffer.substring(0, buffer.indexOf(" "))) Integer.valueOf Integer buffer.substring(0, buffer.indexOf(" ")) buffer.substring buffer 0 buffer.indexOf(" ") buffer.indexOf buffer " " Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1))); b Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1))) Integer.valueOf Integer buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)) buffer.substring buffer buffer.indexOf(" ") + 1 buffer.indexOf(" ") buffer.indexOf buffer " " 1 buffer.indexOf(" ", buffer.indexOf(" ") + 1) buffer.indexOf buffer " " buffer.indexOf(" ") + 1 buffer.indexOf(" ") buffer.indexOf buffer " " 1 Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1)); c Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1)) Integer.valueOf Integer buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1) buffer.substring buffer buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1 buffer.indexOf(" ", buffer.indexOf(" ") + 1) buffer.indexOf buffer " " buffer.indexOf(" ") + 1 buffer.indexOf(" ") buffer.indexOf buffer " " 1 1 if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				} a < b && b < c a < b a b b < c b 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) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String buffer;
		try {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}
} public class Main {

	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String buffer;
		try {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String buffer;
		try {
			while ((buffer = reader.readLine())  != null) {
				Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ")));
				Integer b = Integer.valueOf(buffer.substring(buffer.indexOf(" ") + 1, buffer.indexOf(" ", buffer.indexOf(" ") + 1)));
				Integer c = Integer.valueOf(buffer.substring(buffer.indexOf(" ", buffer.indexOf(" ") + 1) + 1));
				if (a < b && b < c) {
					System.out.println("Yes");
				}
				else {
					System.out.println("No");
				}
			}
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}
}