import java.util.*;

class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int a, b, c;
	String[] line = sc.nextLine().split(" ");
	a = Integer.parseInt(line[0]);
	b = Integer.parseInt(line[1]);
	c = Integer.parseInt(line[2]);

	if (a < b && b < c) {
	    System.out.println("Yes");
	} else {
	    System.out.println("No");
	}
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int a, b, c;
	String[] line = sc.nextLine().split(" ");
	a = Integer.parseInt(line[0]);
	b = Integer.parseInt(line[1]);
	c = Integer.parseInt(line[2]);

	if (a < b && b < c) {
	    System.out.println("Yes");
	} else {
	    System.out.println("No");
	}
    }
} Main public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int a, b, c;
	String[] line = sc.nextLine().split(" ");
	a = Integer.parseInt(line[0]);
	b = Integer.parseInt(line[1]);
	c = Integer.parseInt(line[2]);

	if (a < b && b < c) {
	    System.out.println("Yes");
	} else {
	    System.out.println("No");
	}
    } main {
	Scanner sc = new Scanner(System.in);
	int a, b, c;
	String[] line = sc.nextLine().split(" ");
	a = Integer.parseInt(line[0]);
	b = Integer.parseInt(line[1]);
	c = Integer.parseInt(line[2]);

	if (a < b && b < c) {
	    System.out.println("Yes");
	} else {
	    System.out.println("No");
	}
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a a b b c; c String[] line = sc.nextLine().split(" "); line sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " a = Integer.parseInt(line[0]) a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 b = Integer.parseInt(line[1]) b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 c = Integer.parseInt(line[2]) c Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 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" String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int a, b, c;
	String[] line = sc.nextLine().split(" ");
	a = Integer.parseInt(line[0]);
	b = Integer.parseInt(line[1]);
	c = Integer.parseInt(line[2]);

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