
import java.util.Scanner;


public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        String flg;
        if (a < b){
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        }else{
            flg = "No";
        }
        System.out.printf("%s\n", flg);
    }

    public static void main(String[] args){
        new Main();
    }
}
 import java.util.Scanner; Scanner java.util public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        String flg;
        if (a < b){
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        }else{
            flg = "No";
        }
        System.out.printf("%s\n", flg);
    }

    public static void main(String[] args){
        new Main();
    }
} Main Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        String flg;
        if (a < b){
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        }else{
            flg = "No";
        }
        System.out.printf("%s\n", flg);
    } Main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        String flg;
        if (a < b){
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        }else{
            flg = "No";
        }
        System.out.printf("%s\n", flg);
    } 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 flg; flg if (a < b){
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        }else{
            flg = "No";
        } a < b a b {
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        } if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            } b < c b c {
                flg = "Yes";
            } flg = "Yes" flg "Yes" {
                flg = "No";
            } flg = "No" flg "No" {
            flg = "No";
        } flg = "No" flg "No" System.out.printf("%s\n", flg) System.out.printf System.out System System.out "%s\n" flg public static void main(String[] args){
        new Main();
    } main {
        new Main();
    } new Main() String[] args args public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        String flg;
        if (a < b){
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        }else{
            flg = "No";
        }
        System.out.printf("%s\n", flg);
    }

    public static void main(String[] args){
        new Main();
    }
} public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        String flg;
        if (a < b){
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        }else{
            flg = "No";
        }
        System.out.printf("%s\n", flg);
    }

    public static void main(String[] args){
        new Main();
    }
} Main

import java.util.Scanner;


public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        String flg;
        if (a < b){
            if (b < c){
                flg = "Yes";
            }else {
                flg = "No";
            }
        }else{
            flg = "No";
        }
        System.out.printf("%s\n", flg);
    }

    public static void main(String[] args){
        new Main();
    }
}

