import java.util.Scanner;

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

		Input test  = new Input();
		test.Judge();

	}
}

class Input {
	public void Judge() {
		Scanner num = new Scanner(System.in);
		int a = num.nextInt();
		int b = num.nextInt();
		int c = num.nextInt();

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

		Input test  = new Input();
		test.Judge();

	}
} Main public static void main(String[] args) {

		Input test  = new Input();
		test.Judge();

	} main {

		Input test  = new Input();
		test.Judge();

	} Input test  = new Input(); test new Input() test.Judge() test.Judge test String[] args args class Input {
	public void Judge() {
		Scanner num = new Scanner(System.in);
		int a = num.nextInt();
		int b = num.nextInt();
		int c = num.nextInt();

		if (a < b && b < c) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
} Input public void Judge() {
		Scanner num = new Scanner(System.in);
		int a = num.nextInt();
		int b = num.nextInt();
		int c = num.nextInt();

		if (a < b && b < c) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	} Judge {
		Scanner num = new Scanner(System.in);
		int a = num.nextInt();
		int b = num.nextInt();
		int c = num.nextInt();

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

		Input test  = new Input();
		test.Judge();

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

		Input test  = new Input();
		test.Judge();

	}
} Main
import java.util.Scanner;

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

		Input test  = new Input();
		test.Judge();

	}
}

class Input {
	public void Judge() {
		Scanner num = new Scanner(System.in);
		int a = num.nextInt();
		int b = num.nextInt();
		int c = num.nextInt();

		if (a < b && b < c) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}