import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        String r = "";
        if(a < b && b < c) {
            r = "Yes";
        }
        else {
            r = "No";
        }
        System.out.println(r);

        sc.close();
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        String r = "";
        if(a < b && b < c) {
            r = "Yes";
        }
        else {
            r = "No";
        }
        System.out.println(r);

        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        String r = "";
        if(a < b && b < c) {
            r = "Yes";
        }
        else {
            r = "No";
        }
        System.out.println(r);

        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        String r = "";
        if(a < b && b < c) {
            r = "Yes";
        }
        else {
            r = "No";
        }
        System.out.println(r);

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc String r = ""; r "" if(a < b && b < c) {
            r = "Yes";
        }
        else {
            r = "No";
        } a < b && b < c a < b a b b < c b c {
            r = "Yes";
        } r = "Yes" r "Yes" {
            r = "No";
        } r = "No" r "No" System.out.println(r) System.out.println System.out System System.out r sc.close() sc.close sc String[] args args
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        String r = "";
        if(a < b && b < c) {
            r = "Yes";
        }
        else {
            r = "No";
        }
        System.out.println(r);

        sc.close();
    }
}
