import java.io.*;

public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        int 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");
        
        
    }
    
} import java.io.*; io.* java public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        int 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");
        
        
    }
    
} Main public static void main(String[] args) throws IOException  {
        
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        int 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");
        
        
    } main {
        
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        int 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 reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String[] line = reader.readLine().split(" "); line reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int a = Integer.parseInt(line[0]); a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int b = Integer.parseInt(line[1]); b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 int 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 System.out System System.out "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 reader = new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        int 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");
        
        
    }
    
} public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        int 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");
        
        
    }
    
} Main
import java.io.*;

public class Main {

    public static void main(String[] args) throws IOException  {
        
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
 
        String[] line = reader.readLine().split(" ");
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);
        int 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");
        
        
    }
    
}