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

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int x = Integer.parseInt(str[0]);
        int y = Integer.parseInt(str[1]);
        int z = Integer.parseInt(str[2]);
        //System.out.println(x +"<"+ y +"<"+ z);
        
        if(x < y && y < z){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    }
} 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));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int x = Integer.parseInt(str[0]);
        int y = Integer.parseInt(str[1]);
        int z = Integer.parseInt(str[2]);
        //System.out.println(x +"<"+ y +"<"+ z);
        
        if(x < y && y < z){
            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));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int x = Integer.parseInt(str[0]);
        int y = Integer.parseInt(str[1]);
        int z = Integer.parseInt(str[2]);
        //System.out.println(x +"<"+ y +"<"+ z);
        
        if(x < y && y < z){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int x = Integer.parseInt(str[0]);
        int y = Integer.parseInt(str[1]);
        int z = Integer.parseInt(str[2]);
        //System.out.println(x +"<"+ y +"<"+ z);
        
        if(x < y && y < z){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int num1=0 num1 0 num2=0; num2 0 String s = br.readLine(); s br.readLine() br.readLine br String[] str = s.split(" "); str s.split(" ") s.split s " " int x = Integer.parseInt(str[0]); x Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int y = Integer.parseInt(str[1]); y Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 int z = Integer.parseInt(str[2]); z Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if(x < y && y < z){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        } x < y && y < z x < y x y y < z y z {
            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
import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int x = Integer.parseInt(str[0]);
        int y = Integer.parseInt(str[1]);
        int z = Integer.parseInt(str[2]);
        //System.out.println(x +"<"+ y +"<"+ z);
        
        if(x < y && y < z){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    }
}