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


class Main {
	public static void main(String[] args) throws IOException{

		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();

		StringTokenizer st =
	    		new StringTokenizer(str, " ");

		String str1 = st.nextToken();
		String str2 = st.nextToken();
		String str3 = st.nextToken();

		int num1 = Integer.parseInt(str1);
		int num2 = Integer.parseInt(str2);
		int num3 = Integer.parseInt(str3);

		if(num1<num2) {
			if(num2<num3) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			}
		}
		else {
			System.out.println("No");
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer java.util class Main {
	public static void main(String[] args) throws IOException{

		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();

		StringTokenizer st =
	    		new StringTokenizer(str, " ");

		String str1 = st.nextToken();
		String str2 = st.nextToken();
		String str3 = st.nextToken();

		int num1 = Integer.parseInt(str1);
		int num2 = Integer.parseInt(str2);
		int num3 = Integer.parseInt(str3);

		if(num1<num2) {
			if(num2<num3) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			}
		}
		else {
			System.out.println("No");
		}
	}
} Main public static void main(String[] args) throws IOException{

		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();

		StringTokenizer st =
	    		new StringTokenizer(str, " ");

		String str1 = st.nextToken();
		String str2 = st.nextToken();
		String str3 = st.nextToken();

		int num1 = Integer.parseInt(str1);
		int num2 = Integer.parseInt(str2);
		int num3 = Integer.parseInt(str3);

		if(num1<num2) {
			if(num2<num3) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			}
		}
		else {
			System.out.println("No");
		}
	} main {

		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();

		StringTokenizer st =
	    		new StringTokenizer(str, " ");

		String str1 = st.nextToken();
		String str2 = st.nextToken();
		String str3 = st.nextToken();

		int num1 = Integer.parseInt(str1);
		int num2 = Integer.parseInt(str2);
		int num3 = Integer.parseInt(str3);

		if(num1<num2) {
			if(num2<num3) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			}
		}
		else {
			System.out.println("No");
		}
	} BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br StringTokenizer st =
	    		new StringTokenizer(str, " "); st new StringTokenizer(str, " ") String str1 = st.nextToken(); str1 st.nextToken() st.nextToken st String str2 = st.nextToken(); str2 st.nextToken() st.nextToken st String str3 = st.nextToken(); str3 st.nextToken() st.nextToken st int num1 = Integer.parseInt(str1); num1 Integer.parseInt(str1) Integer.parseInt Integer str1 int num2 = Integer.parseInt(str2); num2 Integer.parseInt(str2) Integer.parseInt Integer str2 int num3 = Integer.parseInt(str3); num3 Integer.parseInt(str3) Integer.parseInt Integer str3 if(num1<num2) {
			if(num2<num3) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			}
		}
		else {
			System.out.println("No");
		} num1<num2 num1 num2 {
			if(num2<num3) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			}
		} if(num2<num3) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			} num2<num3 num2 num3 {
				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" {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;


class Main {
	public static void main(String[] args) throws IOException{

		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();

		StringTokenizer st =
	    		new StringTokenizer(str, " ");

		String str1 = st.nextToken();
		String str2 = st.nextToken();
		String str3 = st.nextToken();

		int num1 = Integer.parseInt(str1);
		int num2 = Integer.parseInt(str2);
		int num3 = Integer.parseInt(str3);

		if(num1<num2) {
			if(num2<num3) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			}
		}
		else {
			System.out.println("No");
		}
	}
}