import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String a = input.next();
		String b = input.next();
		String c = input.next();

		int ai = Integer.parseInt(a);
		int bi = Integer.parseInt(b);
		int ci = Integer.parseInt(c);

		if(ai < bi && bi < ci){
			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 input = new Scanner(System.in);
		String a = input.next();
		String b = input.next();
		String c = input.next();

		int ai = Integer.parseInt(a);
		int bi = Integer.parseInt(b);
		int ci = Integer.parseInt(c);

		if(ai < bi && bi < ci){
			System.out.println("Yes");
		}else{
			System.out.println("No");

		}
	}
} Main public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String a = input.next();
		String b = input.next();
		String c = input.next();

		int ai = Integer.parseInt(a);
		int bi = Integer.parseInt(b);
		int ci = Integer.parseInt(c);

		if(ai < bi && bi < ci){
			System.out.println("Yes");
		}else{
			System.out.println("No");

		}
	} main {
		Scanner input = new Scanner(System.in);
		String a = input.next();
		String b = input.next();
		String c = input.next();

		int ai = Integer.parseInt(a);
		int bi = Integer.parseInt(b);
		int ci = Integer.parseInt(c);

		if(ai < bi && bi < ci){
			System.out.println("Yes");
		}else{
			System.out.println("No");

		}
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) String a = input.next(); a input.next() input.next input String b = input.next(); b input.next() input.next input String c = input.next(); c input.next() input.next input int ai = Integer.parseInt(a); ai Integer.parseInt(a) Integer.parseInt Integer a int bi = Integer.parseInt(b); bi Integer.parseInt(b) Integer.parseInt Integer b int ci = Integer.parseInt(c); ci Integer.parseInt(c) Integer.parseInt Integer c if(ai < bi && bi < ci){
			System.out.println("Yes");
		}else{
			System.out.println("No");

		} ai < bi && bi < ci ai < bi ai bi bi < ci bi ci {
			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 input = new Scanner(System.in);
		String a = input.next();
		String b = input.next();
		String c = input.next();

		int ai = Integer.parseInt(a);
		int bi = Integer.parseInt(b);
		int ci = Integer.parseInt(c);

		if(ai < bi && bi < ci){
			System.out.println("Yes");
		}else{
			System.out.println("No");

		}
	}
} public class Main{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String a = input.next();
		String b = input.next();
		String c = input.next();

		int ai = Integer.parseInt(a);
		int bi = Integer.parseInt(b);
		int ci = Integer.parseInt(c);

		if(ai < bi && bi < ci){
			System.out.println("Yes");
		}else{
			System.out.println("No");

		}
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String a = input.next();
		String b = input.next();
		String c = input.next();

		int ai = Integer.parseInt(a);
		int bi = Integer.parseInt(b);
		int ci = Integer.parseInt(c);

		if(ai < bi && bi < ci){
			System.out.println("Yes");
		}else{
			System.out.println("No");

		}
	}
}