import java.io.*;

class Main {
	public static void main(String[] args){
		int a, b, c;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			if(a < b ){
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } else {
				System.out.println("No");
			    }
		} catch(Exception e){
		}
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args){
		int a, b, c;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			if(a < b ){
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } else {
				System.out.println("No");
			    }
		} catch(Exception e){
		}
	}
} Main public static void main(String[] args){
		int a, b, c;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			if(a < b ){
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } else {
				System.out.println("No");
			    }
		} catch(Exception e){
		}
	} main {
		int a, b, c;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			if(a < b ){
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } else {
				System.out.println("No");
			    }
		} catch(Exception e){
		}
	} int a a b b c; c try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			if(a < b ){
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } else {
				System.out.println("No");
			    }
		} catch(Exception e){
		} catch(Exception e){
		} Exception e {
		} {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			if(a < b ){
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } else {
				System.out.println("No");
			    }
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Integer.parseInt(line[0]) a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 b = Integer.parseInt(line[1]) b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 c = Integer.parseInt(line[2]) c Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 if(a < b ){
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } else {
				System.out.println("No");
			    } a < b a b {
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	} 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" {
				System.out.println("No");
			    } System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.io.*;

class Main {
	public static void main(String[] args){
		int a, b, c;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			if(a < b ){
			  if(b < c){
				System.out.println("Yes");
			  } else {
			  	System.out.println("No");
			  	}
			  } else {
				System.out.println("No");
			    }
		} catch(Exception e){
		}
	}
}