import java.io.IOException;
import java.util.Scanner;

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

	private static void print() throws IOException {
		int a;
		int b;
		int c;

		Scanner scn = new Scanner(System.in);
		a = scn.nextInt();
		b = scn.nextInt();
		c = scn.nextInt();
		compare(a, b, c);
	}

	private static void compare(int a, int b, int c) {
		if (a < b && b < c){
				System.out.println("Yes");
		} else  {
			System.out.println("No");
		}
	}

} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws IOException {
		print();
	}

	private static void print() throws IOException {
		int a;
		int b;
		int c;

		Scanner scn = new Scanner(System.in);
		a = scn.nextInt();
		b = scn.nextInt();
		c = scn.nextInt();
		compare(a, b, c);
	}

	private static void compare(int a, int b, int c) {
		if (a < b && b < c){
				System.out.println("Yes");
		} else  {
			System.out.println("No");
		}
	}

} Main public static void main(String[] args) throws IOException {
		print();
	} main {
		print();
	} print() print String[] args args private static void print() throws IOException {
		int a;
		int b;
		int c;

		Scanner scn = new Scanner(System.in);
		a = scn.nextInt();
		b = scn.nextInt();
		c = scn.nextInt();
		compare(a, b, c);
	} print {
		int a;
		int b;
		int c;

		Scanner scn = new Scanner(System.in);
		a = scn.nextInt();
		b = scn.nextInt();
		c = scn.nextInt();
		compare(a, b, c);
	} int a; a int b; b int c; c Scanner scn = new Scanner(System.in); scn new Scanner(System.in) a = scn.nextInt() a scn.nextInt() scn.nextInt scn b = scn.nextInt() b scn.nextInt() scn.nextInt scn c = scn.nextInt() c scn.nextInt() scn.nextInt scn compare(a, b, c) compare a b c private static void compare(int a, int b, int c) {
		if (a < b && b < c){
				System.out.println("Yes");
		} else  {
			System.out.println("No");
		}
	} compare {
		if (a < b && b < c){
				System.out.println("Yes");
		} else  {
			System.out.println("No");
		}
	} if (a < b && b < c){
				System.out.println("Yes");
		} else  {
			System.out.println("No");
		} a < b && b < c a < b a b b < c b c {
				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" int a a int b b int c c public class Main {
	public static void main(String[] args) throws IOException {
		print();
	}

	private static void print() throws IOException {
		int a;
		int b;
		int c;

		Scanner scn = new Scanner(System.in);
		a = scn.nextInt();
		b = scn.nextInt();
		c = scn.nextInt();
		compare(a, b, c);
	}

	private static void compare(int a, int b, int c) {
		if (a < b && b < c){
				System.out.println("Yes");
		} else  {
			System.out.println("No");
		}
	}

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

	private static void print() throws IOException {
		int a;
		int b;
		int c;

		Scanner scn = new Scanner(System.in);
		a = scn.nextInt();
		b = scn.nextInt();
		c = scn.nextInt();
		compare(a, b, c);
	}

	private static void compare(int a, int b, int c) {
		if (a < b && b < c){
				System.out.println("Yes");
		} else  {
			System.out.println("No");
		}
	}

} Main
import java.io.IOException;
import java.util.Scanner;

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

	private static void print() throws IOException {
		int a;
		int b;
		int c;

		Scanner scn = new Scanner(System.in);
		a = scn.nextInt();
		b = scn.nextInt();
		c = scn.nextInt();
		compare(a, b, c);
	}

	private static void compare(int a, int b, int c) {
		if (a < b && b < c){
				System.out.println("Yes");
		} else  {
			System.out.println("No");
		}
	}

}