import java.util.Scanner;

public class Main {

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

        String result;
        if(c > b && b > a) {
            result = "Yes";
        } else {
            result = "No";
        }

        System.out.println(result);
    }

} import java.util.Scanner; Scanner java.util public class Main {

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

        String result;
        if(c > b && b > a) {
            result = "Yes";
        } else {
            result = "No";
        }

        System.out.println(result);
    }

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

        String result;
        if(c > b && b > a) {
            result = "Yes";
        } else {
            result = "No";
        }

        System.out.println(result);
    } main {
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
        int b = s.nextInt();
        int c = s.nextInt();

        String result;
        if(c > b && b > a) {
            result = "Yes";
        } else {
            result = "No";
        }

        System.out.println(result);
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = s.nextInt(); a s.nextInt() s.nextInt s int b = s.nextInt(); b s.nextInt() s.nextInt s int c = s.nextInt(); c s.nextInt() s.nextInt s String result; result if(c > b && b > a) {
            result = "Yes";
        } else {
            result = "No";
        } c > b && b > a c > b c b b > a b a {
            result = "Yes";
        } result = "Yes" result "Yes" {
            result = "No";
        } result = "No" result "No" System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

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

        String result;
        if(c > b && b > a) {
            result = "Yes";
        } else {
            result = "No";
        }

        System.out.println(result);
    }

} public class Main {

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

        String result;
        if(c > b && b > a) {
            result = "Yes";
        } else {
            result = "No";
        }

        System.out.println(result);
    }

} Main
import java.util.Scanner;

public class Main {

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

        String result;
        if(c > b && b > a) {
            result = "Yes";
        } else {
            result = "No";
        }

        System.out.println(result);
    }

}