import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
import java.io.*;

class Main
{
 public static void main(String[] args) throws IOException
 {
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
     String str = br.readLine();
     String[] abc = str.split(" ", 0);
     int a = Integer.parseInt(abc[0]);
     int b = Integer.parseInt(abc[1]);
     int c = Integer.parseInt(abc[2]);

     if(a < b){
    	 if (b<c){   	 
         System.out.println("Yes");}
    	 else{
    		 System.out.println("No");}
    	 }    	 
     else {
         System.out.println("No");
 }
}
} import java.io.IOException; IOException java.io import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.*; util.* java import java.io.*; io.* java class Main
{
 public static void main(String[] args) throws IOException
 {
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
     String str = br.readLine();
     String[] abc = str.split(" ", 0);
     int a = Integer.parseInt(abc[0]);
     int b = Integer.parseInt(abc[1]);
     int c = Integer.parseInt(abc[2]);

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

     if(a < b){
    	 if (b<c){   	 
         System.out.println("Yes");}
    	 else{
    		 System.out.println("No");}
    	 }    	 
     else {
         System.out.println("No");
 }
} main {
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
     String str = br.readLine();
     String[] abc = str.split(" ", 0);
     int a = Integer.parseInt(abc[0]);
     int b = Integer.parseInt(abc[1]);
     int c = Integer.parseInt(abc[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 str = br.readLine(); str br.readLine() br.readLine br String[] abc = str.split(" ", 0); abc str.split(" ", 0) str.split str " " 0 int a = Integer.parseInt(abc[0]); a Integer.parseInt(abc[0]) Integer.parseInt Integer abc[0] abc 0 int b = Integer.parseInt(abc[1]); b Integer.parseInt(abc[1]) Integer.parseInt Integer abc[1] abc 1 int c = Integer.parseInt(abc[2]); c Integer.parseInt(abc[2]) Integer.parseInt Integer abc[2] abc 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.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
import java.io.*;

class Main
{
 public static void main(String[] args) throws IOException
 {
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
     String str = br.readLine();
     String[] abc = str.split(" ", 0);
     int a = Integer.parseInt(abc[0]);
     int b = Integer.parseInt(abc[1]);
     int c = Integer.parseInt(abc[2]);

     if(a < b){
    	 if (b<c){   	 
         System.out.println("Yes");}
    	 else{
    		 System.out.println("No");}
    	 }    	 
     else {
         System.out.println("No");
 }
}
}