import java.io.*;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int inputA = Integer.parseInt(line[0]);
        int inputB = Integer.parseInt(line[1]);
        int inputC = Integer.parseInt(line[2]);

        if ((inputA >= inputB) || (inputB >= inputC)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
} import java.io.*; io.* java class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int inputA = Integer.parseInt(line[0]);
        int inputB = Integer.parseInt(line[1]);
        int inputC = Integer.parseInt(line[2]);

        if ((inputA >= inputB) || (inputB >= inputC)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int inputA = Integer.parseInt(line[0]);
        int inputB = Integer.parseInt(line[1]);
        int inputC = Integer.parseInt(line[2]);

        if ((inputA >= inputB) || (inputB >= inputC)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    } main {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int inputA = Integer.parseInt(line[0]);
        int inputB = Integer.parseInt(line[1]);
        int inputC = Integer.parseInt(line[2]);

        if ((inputA >= inputB) || (inputB >= inputC)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    } BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String[] line = reader.readLine().split(" "); line reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int inputA = Integer.parseInt(line[0]); inputA Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int inputB = Integer.parseInt(line[1]); inputB Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 int inputC = Integer.parseInt(line[2]); inputC Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 if ((inputA >= inputB) || (inputB >= inputC)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        } (inputA >= inputB) || (inputB >= inputC) (inputA >= inputB) inputA inputB (inputB >= inputC) inputB inputC {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args
import java.io.*;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int inputA = Integer.parseInt(line[0]);
        int inputB = Integer.parseInt(line[1]);
        int inputC = Integer.parseInt(line[2]);

        if ((inputA >= inputB) || (inputB >= inputC)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
}