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

public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0;i < strArr.length;i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		System.out.println((arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No");
	}
} 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) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0;i < strArr.length;i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		System.out.println((arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No");
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0;i < strArr.length;i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		System.out.println((arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No");
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0;i < strArr.length;i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		System.out.println((arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No");
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] strArr = br.readLine().split(" "); strArr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " long[] arr = new long[strArr.length]; arr new long[strArr.length] strArr.length strArr strArr.length for(int i = 0;i < strArr.length;i++){
			arr[i] = Long.parseLong(strArr[i]);
		} int i = 0; int i = 0; i 0 i < strArr.length i strArr.length strArr strArr.length i++ i++ i {
			arr[i] = Long.parseLong(strArr[i]);
		} {
			arr[i] = Long.parseLong(strArr[i]);
		} arr[i] = Long.parseLong(strArr[i]) arr[i] arr i Long.parseLong(strArr[i]) Long.parseLong Long strArr[i] strArr i System.out.println((arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No") System.out.println System.out System System.out (arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No" (arr[0] < arr[1] && arr[1] < arr[2]) arr[0] < arr[1] arr[0] arr 0 arr[1] arr 1 arr[1] < arr[2] arr[1] arr 1 arr[2] arr 2 "Yes" "No" String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0;i < strArr.length;i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		System.out.println((arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No");
	}
} public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0;i < strArr.length;i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		System.out.println((arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No");
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strArr = br.readLine().split(" ");
		long[] arr = new long[strArr.length];
		for(int i = 0;i < strArr.length;i++){
			arr[i] = Long.parseLong(strArr[i]);
		}
		System.out.println((arr[0] < arr[1] && arr[1] < arr[2]) ? "Yes" : "No");
	}
}