import java.util.Scanner;

public class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		String out = "No";
		
		if (a < b && a < c && b < c) {
			out = "Yes";
		}
		System.out.println(out);
	}	
} import java.util.Scanner; Scanner java.util public class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		String out = "No";
		
		if (a < b && a < c && b < c) {
			out = "Yes";
		}
		System.out.println(out);
	}	
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		String out = "No";
		
		if (a < b && a < c && b < c) {
			out = "Yes";
		}
		System.out.println(out);
	} main {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		String out = "No";
		
		if (a < b && a < c && b < c) {
			out = "Yes";
		}
		System.out.println(out);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner String out = "No"; out "No" if (a < b && a < c && b < c) {
			out = "Yes";
		} a < b && a < c && b < c a < b && a < c && b < c a < b a b a < c a c b < c b c {
			out = "Yes";
		} out = "Yes" out "Yes" System.out.println(out) System.out.println System.out System System.out out String[] args args public class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		String out = "No";
		
		if (a < b && a < c && b < c) {
			out = "Yes";
		}
		System.out.println(out);
	}	
} public class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		String out = "No";
		
		if (a < b && a < c && b < c) {
			out = "Yes";
		}
		System.out.println(out);
	}	
} Main
import java.util.Scanner;

public class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		String out = "No";
		
		if (a < b && a < c && b < c) {
			out = "Yes";
		}
		System.out.println(out);
	}	
}