import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt(), b = scanner.nextInt(), c = scanner.nextInt();
		String answer;

		if (a < b && b < c)
			answer = "Yes";
		else
			answer = "No";

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

		if (a < b && b < c)
			answer = "Yes";
		else
			answer = "No";

		System.out.println(answer);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt(), b = scanner.nextInt(), c = scanner.nextInt();
		String answer;

		if (a < b && b < c)
			answer = "Yes";
		else
			answer = "No";

		System.out.println(answer);
	} main {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt(), b = scanner.nextInt(), c = scanner.nextInt();
		String answer;

		if (a < b && b < c)
			answer = "Yes";
		else
			answer = "No";

		System.out.println(answer);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt() a scanner.nextInt() scanner.nextInt scanner b = scanner.nextInt() b scanner.nextInt() scanner.nextInt scanner c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner String answer; answer if (a < b && b < c)
			answer = "Yes";
		else
			answer = "No"; a < b && b < c a < b a b b < c b c answer = "Yes" answer "Yes" answer = "No" answer "No" System.out.println(answer) System.out.println System.out System System.out answer String[] args args
import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt(), b = scanner.nextInt(), c = scanner.nextInt();
		String answer;

		if (a < b && b < c)
			answer = "Yes";
		else
			answer = "No";

		System.out.println(answer);
	}
}