import java.util.Scanner;

class Main {
	Scanner sc=new Scanner(System.in);

	public void run() {
		int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt();
		ln((a<b && b<c)?"Yes":"No");
	}

	public static void main(String[] args) {
		new Main().run();
	}
	
	public static void pr(Object o) {
		System.out.print(o);
	}
	
	public static void ln(Object o) {
		System.out.println(o);
	}
	
	public static void ln() {
		System.out.println();
	}
} import java.util.Scanner; Scanner java.util class Main {
	Scanner sc=new Scanner(System.in);

	public void run() {
		int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt();
		ln((a<b && b<c)?"Yes":"No");
	}

	public static void main(String[] args) {
		new Main().run();
	}
	
	public static void pr(Object o) {
		System.out.print(o);
	}
	
	public static void ln(Object o) {
		System.out.println(o);
	}
	
	public static void ln() {
		System.out.println();
	}
} Main Scanner sc=new Scanner(System.in); sc new Scanner(System.in) public void run() {
		int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt();
		ln((a<b && b<c)?"Yes":"No");
	} run {
		int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt();
		ln((a<b && b<c)?"Yes":"No");
	} int a=sc.nextInt() a sc.nextInt() sc.nextInt sc b=sc.nextInt() b sc.nextInt() sc.nextInt sc c=sc.nextInt(); c sc.nextInt() sc.nextInt sc ln((a<b && b<c)?"Yes":"No") ln (a<b && b<c)?"Yes":"No" (a<b && b<c) a<b a b b<c b c "Yes" "No" public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args public static void pr(Object o) {
		System.out.print(o);
	} pr {
		System.out.print(o);
	} System.out.print(o) System.out.print System.out System System.out o Object o o public static void ln(Object o) {
		System.out.println(o);
	} ln {
		System.out.println(o);
	} System.out.println(o) System.out.println System.out System System.out o Object o o public static void ln() {
		System.out.println();
	} ln {
		System.out.println();
	} System.out.println() System.out.println System.out System System.out
import java.util.Scanner;

class Main {
	Scanner sc=new Scanner(System.in);

	public void run() {
		int a=sc.nextInt(),b=sc.nextInt(),c=sc.nextInt();
		ln((a<b && b<c)?"Yes":"No");
	}

	public static void main(String[] args) {
		new Main().run();
	}
	
	public static void pr(Object o) {
		System.out.print(o);
	}
	
	public static void ln(Object o) {
		System.out.println(o);
	}
	
	public static void ln() {
		System.out.println();
	}
}