import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(Range(a,b,c));
	}
	
	public static String Range(int a, int b, int c){
		String word;
		word = (a < b && b < c) ? "Yes" : "No";
		return word;
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(Range(a,b,c));
	}
	
	public static String Range(int a, int b, int c){
		String word;
		word = (a < b && b < c) ? "Yes" : "No";
		return word;
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(Range(a,b,c));
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(Range(a,b,c));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc System.out.println(Range(a,b,c)) System.out.println System.out System System.out Range(a,b,c) Range a b c String[] args args public static String Range(int a, int b, int c){
		String word;
		word = (a < b && b < c) ? "Yes" : "No";
		return word;
	} Range {
		String word;
		word = (a < b && b < c) ? "Yes" : "No";
		return word;
	} String word; word word = (a < b && b < c) ? "Yes" : "No" word (a < b && b < c) ? "Yes" : "No" (a < b && b < c) a < b a b b < c b c "Yes" "No" return word; word int a a int b b int c c public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(Range(a,b,c));
	}
	
	public static String Range(int a, int b, int c){
		String word;
		word = (a < b && b < c) ? "Yes" : "No";
		return word;
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(Range(a,b,c));
	}
	
	public static String Range(int a, int b, int c){
		String word;
		word = (a < b && b < c) ? "Yes" : "No";
		return word;
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(Range(a,b,c));
	}
	
	public static String Range(int a, int b, int c){
		String word;
		word = (a < b && b < c) ? "Yes" : "No";
		return word;
	}

}