import java.util.Scanner;

class	Main{
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a =  scanner.nextInt();			
		int b =  scanner.nextInt();			
		int c =  scanner.nextInt();			
		hikaku(a,b,c);

	}

	public static void hikaku(int a, int b , int c){
		if(a<b && b<c){
			System.out.println("Yes");
		}
		else{
			System.out.println("No");
		}
	}
} import java.util.Scanner; Scanner java.util class	Main{
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a =  scanner.nextInt();			
		int b =  scanner.nextInt();			
		int c =  scanner.nextInt();			
		hikaku(a,b,c);

	}

	public static void hikaku(int a, int b , int c){
		if(a<b && b<c){
			System.out.println("Yes");
		}
		else{
			System.out.println("No");
		}
	}
} Main public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a =  scanner.nextInt();			
		int b =  scanner.nextInt();			
		int c =  scanner.nextInt();			
		hikaku(a,b,c);

	} main {
		Scanner scanner = new Scanner(System.in);
		int a =  scanner.nextInt();			
		int b =  scanner.nextInt();			
		int c =  scanner.nextInt();			
		hikaku(a,b,c);

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a =  scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b =  scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c =  scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner hikaku(a,b,c) hikaku a b c String args[] args public static void hikaku(int a, int b , int c){
		if(a<b && b<c){
			System.out.println("Yes");
		}
		else{
			System.out.println("No");
		}
	} hikaku {
		if(a<b && b<c){
			System.out.println("Yes");
		}
		else{
			System.out.println("No");
		}
	} 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" int a a int b b int c c
import java.util.Scanner;

class	Main{
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a =  scanner.nextInt();			
		int b =  scanner.nextInt();			
		int c =  scanner.nextInt();			
		hikaku(a,b,c);

	}

	public static void hikaku(int a, int b , int c){
		if(a<b && b<c){
			System.out.println("Yes");
		}
		else{
			System.out.println("No");
		}
	}
}