import java.util.Scanner;

public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}

		if (v[0] < v[1] && v[1] < v[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

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

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}

		if (v[0] < v[1] && v[1] < v[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}
} Main public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}

		if (v[0] < v[1] && v[1] < v[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	} main {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}

		if (v[0] < v[1] && v[1] < v[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] k = line.split(" "); k line.split(" ") line.split line " " int[] v = new int[k.length]; v new int[k.length] k.length k k.length for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		} int i = 0; int i = 0; i 0 i < v.length i v.length v v.length i++ i++ i {
			v[i] = Integer.parseInt(k[i]);
		} {
			v[i] = Integer.parseInt(k[i]);
		} v[i] = Integer.parseInt(k[i]) v[i] v i Integer.parseInt(k[i]) Integer.parseInt Integer k[i] k i if (v[0] < v[1] && v[1] < v[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} v[0] < v[1] && v[1] < v[2] v[0] < v[1] v[0] v 0 v[1] v 1 v[1] < v[2] v[1] v 1 v[2] v 2 {
			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" String[] arges arges public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}

		if (v[0] < v[1] && v[1] < v[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}
} public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}

		if (v[0] < v[1] && v[1] < v[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int[] v = new int[k.length];
		for (int i = 0; i < v.length; i++) {
			v[i] = Integer.parseInt(k[i]);
		}

		if (v[0] < v[1] && v[1] < v[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}
}