import java.util.*;

public class Main {

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

        String j = "No";

        if (a < b && b < c) {
            j = "Yes";
        }

        System.out.println(j);

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

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

        String j = "No";

        if (a < b && b < c) {
            j = "Yes";
        }

        System.out.println(j);

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

        String j = "No";

        if (a < b && b < c) {
            j = "Yes";
        }

        System.out.println(j);

    } main {
        Scanner stdId = new Scanner(System.in);
        int a = stdId.nextInt();
        int b = stdId.nextInt();
        int c = stdId.nextInt();

        String j = "No";

        if (a < b && b < c) {
            j = "Yes";
        }

        System.out.println(j);

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

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

        String j = "No";

        if (a < b && b < c) {
            j = "Yes";
        }

        System.out.println(j);

    }
} public class Main {

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

        String j = "No";

        if (a < b && b < c) {
            j = "Yes";
        }

        System.out.println(j);

    }
} Main
import java.util.*;

public class Main {

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

        String j = "No";

        if (a < b && b < c) {
            j = "Yes";
        }

        System.out.println(j);

    }
}