import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int min=scanner.nextInt();
		int midium=scanner.nextInt();
		int max=scanner.nextInt();
		if(min<midium&&midium<max){
			System.out.println("Yes");
		}else
		{
			System.out.println("No");
		}
		
		scanner.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int min=scanner.nextInt();
		int midium=scanner.nextInt();
		int max=scanner.nextInt();
		if(min<midium&&midium<max){
			System.out.println("Yes");
		}else
		{
			System.out.println("No");
		}
		
		scanner.close();
	}

} Main public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int min=scanner.nextInt();
		int midium=scanner.nextInt();
		int max=scanner.nextInt();
		if(min<midium&&midium<max){
			System.out.println("Yes");
		}else
		{
			System.out.println("No");
		}
		
		scanner.close();
	} main {
		Scanner scanner=new Scanner(System.in);
		int min=scanner.nextInt();
		int midium=scanner.nextInt();
		int max=scanner.nextInt();
		if(min<midium&&midium<max){
			System.out.println("Yes");
		}else
		{
			System.out.println("No");
		}
		
		scanner.close();
	} Scanner scanner=new Scanner(System.in); scanner new Scanner(System.in) int min=scanner.nextInt(); min scanner.nextInt() scanner.nextInt scanner int midium=scanner.nextInt(); midium scanner.nextInt() scanner.nextInt scanner int max=scanner.nextInt(); max scanner.nextInt() scanner.nextInt scanner if(min<midium&&midium<max){
			System.out.println("Yes");
		}else
		{
			System.out.println("No");
		} min<midium&&midium<max min<midium min midium midium<max midium max {
			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" scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int min=scanner.nextInt();
		int midium=scanner.nextInt();
		int max=scanner.nextInt();
		if(min<midium&&midium<max){
			System.out.println("Yes");
		}else
		{
			System.out.println("No");
		}
		
		scanner.close();
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int min=scanner.nextInt();
		int midium=scanner.nextInt();
		int max=scanner.nextInt();
		if(min<midium&&midium<max){
			System.out.println("Yes");
		}else
		{
			System.out.println("No");
		}
		
		scanner.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int min=scanner.nextInt();
		int midium=scanner.nextInt();
		int max=scanner.nextInt();
		if(min<midium&&midium<max){
			System.out.println("Yes");
		}else
		{
			System.out.println("No");
		}
		
		scanner.close();
	}

}