import java.util.Scanner;
import static java.lang.System.out;

class Range {
    public void run() {
        Scanner scan = new Scanner( System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        out.println( ( a < b) ? ( ( b < c) ? "Yes" : "No") : "No");

    }
}

public class Main {
    public static void main( String... args) {
        Range test = new Range();
        test.run();
    }
} import java.util.Scanner; Scanner java.util import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; class Range {
    public void run() {
        Scanner scan = new Scanner( System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        out.println( ( a < b) ? ( ( b < c) ? "Yes" : "No") : "No");

    }
} Range public void run() {
        Scanner scan = new Scanner( System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        out.println( ( a < b) ? ( ( b < c) ? "Yes" : "No") : "No");

    } run {
        Scanner scan = new Scanner( System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        out.println( ( a < b) ? ( ( b < c) ? "Yes" : "No") : "No");

    } Scanner scan = new Scanner( System.in); scan new Scanner( System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan out.println( ( a < b) ? ( ( b < c) ? "Yes" : "No") : "No") out.println out ( a < b) ? ( ( b < c) ? "Yes" : "No") : "No" ( a < b) a b ( ( b < c) ? "Yes" : "No") ( b < c) b c "Yes" "No" "No" public class Main {
    public static void main( String... args) {
        Range test = new Range();
        test.run();
    }
} Main public static void main( String... args) {
        Range test = new Range();
        test.run();
    } main {
        Range test = new Range();
        test.run();
    } Range test = new Range(); test new Range() test.run() test.run test String... args args public class Main {
    public static void main( String... args) {
        Range test = new Range();
        test.run();
    }
} public class Main {
    public static void main( String... args) {
        Range test = new Range();
        test.run();
    }
} Main
import java.util.Scanner;
import static java.lang.System.out;

class Range {
    public void run() {
        Scanner scan = new Scanner( System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        out.println( ( a < b) ? ( ( b < c) ? "Yes" : "No") : "No");

    }
}

public class Main {
    public static void main( String... args) {
        Range test = new Range();
        test.run();
    }
}