import java.util.*;

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

class Range {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int a = sc.nextInt();
        final int b = sc.nextInt();
        final int c = sc.nextInt();
        System.out.println(a < b && b < c ? "Yes" : "No");
    }
}
public class Main {
    public static void main(String... args) {
        Range.main();
    }
}