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

class Main {

	public static void main(String[] args) {

		try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			Main ao1_2 = new Main();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

			if(result){
				System.out.println("Yes");
			}else{
				System.out.println("No");
			}

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}

	/**
	 *
	 * @return
	 */
	private boolean judgeThreeNumber(int a, int b, int c){

		if(a < b && b < c){
			return true;

		}
		return false;
	}

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

	public static void main(String[] args) {

		try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			Main ao1_2 = new Main();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

			if(result){
				System.out.println("Yes");
			}else{
				System.out.println("No");
			}

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}

	/**
	 *
	 * @return
	 */
	private boolean judgeThreeNumber(int a, int b, int c){

		if(a < b && b < c){
			return true;

		}
		return false;
	}

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

		try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			Main ao1_2 = new Main();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

			if(result){
				System.out.println("Yes");
			}else{
				System.out.println("No");
			}

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	} main {

		try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			Main ao1_2 = new Main();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

			if(result){
				System.out.println("Yes");
			}else{
				System.out.println("No");
			}

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	} try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			Main ao1_2 = new Main();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

			if(result){
				System.out.println("Yes");
			}else{
				System.out.println("No");
			}

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} IOException e {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			Main ao1_2 = new Main();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

			if(result){
				System.out.println("Yes");
			}else{
				System.out.println("No");
			}

		} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String str; str str = reader.readLine() str reader.readLine() reader.readLine reader String[] arr = str.split(" "); arr str.split(" ") str.split str " " int a = Integer.parseInt(arr[0]); a Integer.parseInt(arr[0]) Integer.parseInt Integer arr[0] arr 0 int b = Integer.parseInt(arr[1]); b Integer.parseInt(arr[1]) Integer.parseInt Integer arr[1] arr 1 int c = Integer.parseInt(arr[2]); c Integer.parseInt(arr[2]) Integer.parseInt Integer arr[2] arr 2 Main ao1_2 = new Main(); ao1_2 new Main() boolean result = ao1_2.judgeThreeNumber(a,b,c); result ao1_2.judgeThreeNumber(a,b,c) ao1_2.judgeThreeNumber ao1_2 a b c if(result){
				System.out.println("Yes");
			}else{
				System.out.println("No");
			} result {
				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 /**
	 *
	 * @return
	 */
	private boolean judgeThreeNumber(int a, int b, int c){

		if(a < b && b < c){
			return true;

		}
		return false;
	} judgeThreeNumber {

		if(a < b && b < c){
			return true;

		}
		return false;
	} if(a < b && b < c){
			return true;

		} a < b && b < c a < b a b b < c b c {
			return true;

		} return true; true return false; false int a a int b b int c c
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) {

		try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			Main ao1_2 = new Main();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

			if(result){
				System.out.println("Yes");
			}else{
				System.out.println("No");
			}

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}

	/**
	 *
	 * @return
	 */
	private boolean judgeThreeNumber(int a, int b, int c){

		if(a < b && b < c){
			return true;

		}
		return false;
	}

}