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

public class Main {

	public static void main(String[] args) {

		//?????£?????????
		String strInput = null;
		String strMessage = null;

		int[] intNumList = new int[3];
		try {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		}catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) {

		//?????£?????????
		String strInput = null;
		String strMessage = null;

		int[] intNumList = new int[3];
		try {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		}catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}

	}

} Main public static void main(String[] args) {

		//?????£?????????
		String strInput = null;
		String strMessage = null;

		int[] intNumList = new int[3];
		try {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		}catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}

	} main {

		//?????£?????????
		String strInput = null;
		String strMessage = null;

		int[] intNumList = new int[3];
		try {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		}catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}

	} String strInput = null; strInput null String strMessage = null; strMessage null int[] intNumList = new int[3]; intNumList new int[3] 3 try {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		}catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		} catch (IOException e1) {
			System.out.println(e1);
		} IOException e1 {
			System.out.println(e1);
		} System.out.println(e1) System.out.println System.out System System.out e1 catch (NumberFormatException e2) {
			System.out.println(e2);
		} NumberFormatException e2 {
			System.out.println(e2);
		} System.out.println(e2) System.out.println System.out System System.out e2 {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		} BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in)); strLine new BufferedReader(new InputStreamReader(System.in)) strInput = strLine.readLine() strInput strLine.readLine() strLine.readLine strLine String[] strNumList = strInput.split(" "); strNumList strInput.split(" ") strInput.split strInput " " for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			} int i = 0; int i = 0; i 0 i < strNumList.length i strNumList.length strNumList strNumList.length i++ i++ i {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			} {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			} intNumList[i] = Integer.parseInt(strNumList[i]) intNumList[i] intNumList i Integer.parseInt(strNumList[i]) Integer.parseInt Integer strNumList[i] strNumList i for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			} int i = 0; int i = 0; i 0 i < intNumList.length i intNumList.length intNumList intNumList.length i++ i++ i {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			} {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			} if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				} strMessage == null strMessage null {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				} for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					} int j = i + 1; int j = i + 1; j i + 1 i 1 j < intNumList.length j intNumList.length intNumList intNumList.length j++ j++ j {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					} {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					} if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						} intNumList[i] >= intNumList[j] intNumList[i] intNumList i intNumList[j] intNumList j {
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						} strMessage = "No" strMessage "No" break; {
					break;
				} break; if (strMessage == null) {
				strMessage = "Yes";
			} strMessage == null strMessage null {
				strMessage = "Yes";
			} strMessage = "Yes" strMessage "Yes" System.out.println(strMessage) System.out.println System.out System System.out strMessage String[] args args public class Main {

	public static void main(String[] args) {

		//?????£?????????
		String strInput = null;
		String strMessage = null;

		int[] intNumList = new int[3];
		try {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		}catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}

	}

} public class Main {

	public static void main(String[] args) {

		//?????£?????????
		String strInput = null;
		String strMessage = null;

		int[] intNumList = new int[3];
		try {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		}catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}

	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) {

		//?????£?????????
		String strInput = null;
		String strMessage = null;

		int[] intNumList = new int[3];
		try {
			//??\????????????????????????
			BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
			strInput = strLine.readLine();

			String[] strNumList = strInput.split(" ");

			//int????????????
			for (int i = 0; i < strNumList.length; i++) {
				intNumList[i] = Integer.parseInt(strNumList[i]);
			}

			for (int i = 0; i < intNumList.length; i++) {

				//
				if (strMessage == null) {
					for (int j = i + 1; j < intNumList.length;j++) {

						if(intNumList[i] >= intNumList[j]){
							//?????¶ a < b < c????????????????????´???
							strMessage = "No";
							break;
						}
					}
				}else {
					break;
				}
			}

			//?????¶ a < b < c??????????????´???
			if (strMessage == null) {
				strMessage = "Yes";
			}

			//???????????????
			System.out.println(strMessage);

		}catch (IOException e1) {
			System.out.println(e1);
		}catch (NumberFormatException e2) {
			System.out.println(e2);
		}

	}

}