import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");
		int[] ints = new int[3];
		for (int i = 0; i < 3; i++) {
			ints[i] = Integer.parseInt(st[i]);
		}
		if (ints[0] < ints[1] && ints[1] < ints[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[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");
		int[] ints = new int[3];
		for (int i = 0; i < 3; i++) {
			ints[i] = Integer.parseInt(st[i]);
		}
		if (ints[0] < ints[1] && ints[1] < ints[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");

		}

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");
		int[] ints = new int[3];
		for (int i = 0; i < 3; i++) {
			ints[i] = Integer.parseInt(st[i]);
		}
		if (ints[0] < ints[1] && ints[1] < ints[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");

		}

	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");
		int[] ints = new int[3];
		for (int i = 0; i < 3; i++) {
			ints[i] = Integer.parseInt(st[i]);
		}
		if (ints[0] < ints[1] && ints[1] < ints[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");

		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.nextLine(); s sc.nextLine() sc.nextLine sc String[] st = s.split(" "); st s.split(" ") s.split s " " int[] ints = new int[3]; ints new int[3] 3 for (int i = 0; i < 3; i++) {
			ints[i] = Integer.parseInt(st[i]);
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			ints[i] = Integer.parseInt(st[i]);
		} {
			ints[i] = Integer.parseInt(st[i]);
		} ints[i] = Integer.parseInt(st[i]) ints[i] ints i Integer.parseInt(st[i]) Integer.parseInt Integer st[i] st i if (ints[0] < ints[1] && ints[1] < ints[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");

		} ints[0] < ints[1] && ints[1] < ints[2] ints[0] < ints[1] ints[0] ints 0 ints[1] ints 1 ints[1] < ints[2] ints[1] ints 1 ints[2] ints 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[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");
		int[] ints = new int[3];
		for (int i = 0; i < 3; i++) {
			ints[i] = Integer.parseInt(st[i]);
		}
		if (ints[0] < ints[1] && ints[1] < ints[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");

		}

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");
		int[] ints = new int[3];
		for (int i = 0; i < 3; i++) {
			ints[i] = Integer.parseInt(st[i]);
		}
		if (ints[0] < ints[1] && ints[1] < ints[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");

		}

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(" ");
		int[] ints = new int[3];
		for (int i = 0; i < 3; i++) {
			ints[i] = Integer.parseInt(st[i]);
		}
		if (ints[0] < ints[1] && ints[1] < ints[2]) {
			System.out.println("Yes");
		} else {
			System.out.println("No");

		}

	}

}