import java.util.Scanner;

public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        System.out.println(comp(scan.nextInt() , scan.nextInt(), scan.nextInt()));
    }

    /**
     * 比較して結果を返します。
     */
    private static String comp(int a, int b, int c) {
        if (a < b && b < c) {
            return "Yes";
        } else {
            return "No";
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        System.out.println(comp(scan.nextInt() , scan.nextInt(), scan.nextInt()));
    }

    /**
     * 比較して結果を返します。
     */
    private static String comp(int a, int b, int c) {
        if (a < b && b < c) {
            return "Yes";
        } else {
            return "No";
        }
    }
} Main private static Scanner scan; scan public static void main(String[] args) {
        scan = new Scanner(System.in);
        System.out.println(comp(scan.nextInt() , scan.nextInt(), scan.nextInt()));
    } main {
        scan = new Scanner(System.in);
        System.out.println(comp(scan.nextInt() , scan.nextInt(), scan.nextInt()));
    } scan = new Scanner(System.in) scan new Scanner(System.in) System.out.println(comp(scan.nextInt() , scan.nextInt(), scan.nextInt())) System.out.println System.out System System.out comp(scan.nextInt() , scan.nextInt(), scan.nextInt()) comp scan.nextInt() scan.nextInt scan scan.nextInt() scan.nextInt scan scan.nextInt() scan.nextInt scan String[] args args /**
     * 比較して結果を返します。
     */
    private static String comp(int a, int b, int c) {
        if (a < b && b < c) {
            return "Yes";
        } else {
            return "No";
        }
    } comp {
        if (a < b && b < c) {
            return "Yes";
        } else {
            return "No";
        }
    } if (a < b && b < c) {
            return "Yes";
        } else {
            return "No";
        } a < b && b < c a < b a b b < c b c {
            return "Yes";
        } return "Yes"; "Yes" {
            return "No";
        } return "No"; "No" int a a int b b int c c public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        System.out.println(comp(scan.nextInt() , scan.nextInt(), scan.nextInt()));
    }

    /**
     * 比較して結果を返します。
     */
    private static String comp(int a, int b, int c) {
        if (a < b && b < c) {
            return "Yes";
        } else {
            return "No";
        }
    }
} public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        System.out.println(comp(scan.nextInt() , scan.nextInt(), scan.nextInt()));
    }

    /**
     * 比較して結果を返します。
     */
    private static String comp(int a, int b, int c) {
        if (a < b && b < c) {
            return "Yes";
        } else {
            return "No";
        }
    }
} Main
import java.util.Scanner;

public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        System.out.println(comp(scan.nextInt() , scan.nextInt(), scan.nextInt()));
    }

    /**
     * 比較して結果を返します。
     */
    private static String comp(int a, int b, int c) {
        if (a < b && b < c) {
            return "Yes";
        } else {
            return "No";
        }
    }
}