import java.io.*;
import java.util.*;
public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int input1 = Integer.parseInt(s.nextToken());
	int input2 = Integer.parseInt(s.nextToken());
	int input3 = Integer.parseInt(s.nextToken());

	if(input1 < input2 && input2 < input3){
	System.out.println("Yes");
	}else{
	System.out.println("No");
        }
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int input1 = Integer.parseInt(s.nextToken());
	int input2 = Integer.parseInt(s.nextToken());
	int input3 = Integer.parseInt(s.nextToken());

	if(input1 < input2 && input2 < input3){
	System.out.println("Yes");
	}else{
	System.out.println("No");
        }
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int input1 = Integer.parseInt(s.nextToken());
	int input2 = Integer.parseInt(s.nextToken());
	int input3 = Integer.parseInt(s.nextToken());

	if(input1 < input2 && input2 < input3){
	System.out.println("Yes");
	}else{
	System.out.println("No");
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int input1 = Integer.parseInt(s.nextToken());
	int input2 = Integer.parseInt(s.nextToken());
	int input3 = Integer.parseInt(s.nextToken());

	if(input1 < input2 && input2 < input3){
	System.out.println("Yes");
	}else{
	System.out.println("No");
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer s = new StringTokenizer(br.readLine()," "); s new StringTokenizer(br.readLine()," ") int input1 = Integer.parseInt(s.nextToken()); input1 Integer.parseInt(s.nextToken()) Integer.parseInt Integer s.nextToken() s.nextToken s int input2 = Integer.parseInt(s.nextToken()); input2 Integer.parseInt(s.nextToken()) Integer.parseInt Integer s.nextToken() s.nextToken s int input3 = Integer.parseInt(s.nextToken()); input3 Integer.parseInt(s.nextToken()) Integer.parseInt Integer s.nextToken() s.nextToken s if(input1 < input2 && input2 < input3){
	System.out.println("Yes");
	}else{
	System.out.println("No");
        } input1 < input2 && input2 < input3 input1 < input2 input1 input2 input2 < input3 input2 input3 {
	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" String[] args args public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int input1 = Integer.parseInt(s.nextToken());
	int input2 = Integer.parseInt(s.nextToken());
	int input3 = Integer.parseInt(s.nextToken());

	if(input1 < input2 && input2 < input3){
	System.out.println("Yes");
	}else{
	System.out.println("No");
        }
    }
} public class Main {
     public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int input1 = Integer.parseInt(s.nextToken());
	int input2 = Integer.parseInt(s.nextToken());
	int input3 = Integer.parseInt(s.nextToken());

	if(input1 < input2 && input2 < input3){
	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) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer s = new StringTokenizer(br.readLine()," ");
	int input1 = Integer.parseInt(s.nextToken());
	int input2 = Integer.parseInt(s.nextToken());
	int input3 = Integer.parseInt(s.nextToken());

	if(input1 < input2 && input2 < input3){
	System.out.println("Yes");
	}else{
	System.out.println("No");
        }
    }
}