import java.util.*;

public class Main{

	public static void main (String[] args) throws java.io.IOException{

		int x,y,z;
		Scanner in = new Scanner(System.in);
		x = in.nextInt();
		y = in.nextInt();
		z = in.nextInt();
		if(x < y && y < z){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
} import java.util.*; util.* java public class Main{

	public static void main (String[] args) throws java.io.IOException{

		int x,y,z;
		Scanner in = new Scanner(System.in);
		x = in.nextInt();
		y = in.nextInt();
		z = in.nextInt();
		if(x < y && y < z){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
} Main public static void main (String[] args) throws java.io.IOException{

		int x,y,z;
		Scanner in = new Scanner(System.in);
		x = in.nextInt();
		y = in.nextInt();
		z = in.nextInt();
		if(x < y && y < z){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	} main {

		int x,y,z;
		Scanner in = new Scanner(System.in);
		x = in.nextInt();
		y = in.nextInt();
		z = in.nextInt();
		if(x < y && y < z){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	} int x x y y z; z Scanner in = new Scanner(System.in); in new Scanner(System.in) x = in.nextInt() x in.nextInt() in.nextInt in y = in.nextInt() y in.nextInt() in.nextInt in z = in.nextInt() z in.nextInt() in.nextInt in if(x < y && y < z){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} x < y && y < z x < y x y y < z y z {
			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) throws java.io.IOException{

		int x,y,z;
		Scanner in = new Scanner(System.in);
		x = in.nextInt();
		y = in.nextInt();
		z = in.nextInt();
		if(x < y && y < z){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
} public class Main{

	public static void main (String[] args) throws java.io.IOException{

		int x,y,z;
		Scanner in = new Scanner(System.in);
		x = in.nextInt();
		y = in.nextInt();
		z = in.nextInt();
		if(x < y && y < z){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
} Main
import java.util.*;

public class Main{

	public static void main (String[] args) throws java.io.IOException{

		int x,y,z;
		Scanner in = new Scanner(System.in);
		x = in.nextInt();
		y = in.nextInt();
		z = in.nextInt();
		if(x < y && y < z){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}