import java.util.Scanner;
public class Main {
	void range(){
		int a,b,c;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		if(a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}

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

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

	} range {
		int a,b,c;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		if(a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}

	} int a a b b c; c Scanner s = new Scanner(System.in); s new Scanner(System.in) a = s.nextInt() a s.nextInt() s.nextInt s b = s.nextInt() b s.nextInt() s.nextInt s c = s.nextInt() c s.nextInt() s.nextInt s 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" public static void main (String args[]){
		Main m1 = new Main();
		m1.range();
	} main {
		Main m1 = new Main();
		m1.range();
	} Main m1 = new Main(); m1 new Main() m1.range() m1.range m1 String args[] args public class Main {
	void range(){
		int a,b,c;
		Scanner s = new Scanner(System.in);
		a = s.nextInt();
		b = s.nextInt();
		c = s.nextInt();
		if(a < b && b < c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}

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

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

	}
	public static void main (String args[]){
		Main m1 = new Main();
		m1.range();
	}
}