//Range
import java.util.Scanner;

class Main {
    public void cubic() {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String out = "No";
        if (a < b) {
            if(b < c) {
                out = "Yes";
            }
        }
                                        
        System.out.println(out);
    }
    
    public static void main(String[] args){
    new Main().cubic();
    }
} import java.util.Scanner; Scanner java.util class Main {
    public void cubic() {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String out = "No";
        if (a < b) {
            if(b < c) {
                out = "Yes";
            }
        }
                                        
        System.out.println(out);
    }
    
    public static void main(String[] args){
    new Main().cubic();
    }
} Main public void cubic() {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String out = "No";
        if (a < b) {
            if(b < c) {
                out = "Yes";
            }
        }
                                        
        System.out.println(out);
    } cubic {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String out = "No";
        if (a < b) {
            if(b < c) {
                out = "Yes";
            }
        }
                                        
        System.out.println(out);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc String out = "No"; out "No" if (a < b) {
            if(b < c) {
                out = "Yes";
            }
        } a < b a b {
            if(b < c) {
                out = "Yes";
            }
        } if(b < c) {
                out = "Yes";
            } b < c b c {
                out = "Yes";
            } out = "Yes" out "Yes" System.out.println(out) System.out.println System.out System System.out out public static void main(String[] args){
    new Main().cubic();
    } main {
    new Main().cubic();
    } new Main().cubic() new Main().cubic new Main() String[] args args
//Range
import java.util.Scanner;

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