
import java.io.*;
import java.util.*;


public class Main{ 

	public static void main(String args[]){
		
		Scanner scan = new Scanner(System.in);
		Range rng = new Range(scan.nextInt(),scan.nextInt(),scan.nextInt());
		if(rng.judge())
			System.out.println("Yes");
		else
			System.out.println("No");
	}
}

class Range{
	int a,b,c;
	public Range(int x,int y,int z){
		a=x;
		b=y;
		c=z;
	}
	public boolean judge(){
		return a<b && b<c;
	}
	
} import java.io.*; io.* java import java.util.*; util.* java public class Main{ 

	public static void main(String args[]){
		
		Scanner scan = new Scanner(System.in);
		Range rng = new Range(scan.nextInt(),scan.nextInt(),scan.nextInt());
		if(rng.judge())
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} Main public static void main(String args[]){
		
		Scanner scan = new Scanner(System.in);
		Range rng = new Range(scan.nextInt(),scan.nextInt(),scan.nextInt());
		if(rng.judge())
			System.out.println("Yes");
		else
			System.out.println("No");
	} main {
		
		Scanner scan = new Scanner(System.in);
		Range rng = new Range(scan.nextInt(),scan.nextInt(),scan.nextInt());
		if(rng.judge())
			System.out.println("Yes");
		else
			System.out.println("No");
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) Range rng = new Range(scan.nextInt(),scan.nextInt(),scan.nextInt()); rng new Range(scan.nextInt(),scan.nextInt(),scan.nextInt()) if(rng.judge())
			System.out.println("Yes");
		else
			System.out.println("No"); rng.judge() rng.judge rng System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String args[] args class Range{
	int a,b,c;
	public Range(int x,int y,int z){
		a=x;
		b=y;
		c=z;
	}
	public boolean judge(){
		return a<b && b<c;
	}
	
} Range int a a b b c; c public Range(int x,int y,int z){
		a=x;
		b=y;
		c=z;
	} Range {
		a=x;
		b=y;
		c=z;
	} a=x a x b=y b y c=z c z int x x int y y int z z public boolean judge(){
		return a<b && b<c;
	} judge {
		return a<b && b<c;
	} return a<b && b<c; a<b && b<c a<b a b b<c b c public class Main{ 

	public static void main(String args[]){
		
		Scanner scan = new Scanner(System.in);
		Range rng = new Range(scan.nextInt(),scan.nextInt(),scan.nextInt());
		if(rng.judge())
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} public class Main{ 

	public static void main(String args[]){
		
		Scanner scan = new Scanner(System.in);
		Range rng = new Range(scan.nextInt(),scan.nextInt(),scan.nextInt());
		if(rng.judge())
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} Main

import java.io.*;
import java.util.*;


public class Main{ 

	public static void main(String args[]){
		
		Scanner scan = new Scanner(System.in);
		Range rng = new Range(scan.nextInt(),scan.nextInt(),scan.nextInt());
		if(rng.judge())
			System.out.println("Yes");
		else
			System.out.println("No");
	}
}

class Range{
	int a,b,c;
	public Range(int x,int y,int z){
		a=x;
		b=y;
		c=z;
	}
	public boolean judge(){
		return a<b && b<c;
	}
	
}