import java.util.InputMismatchException;
import java.util.Scanner;

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

                try
                    {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    }
                catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    }
            }
    } import java.util.InputMismatchException; InputMismatchException java.util import java.util.Scanner; Scanner java.util public class Main
    {
        public static void main (String[] args)
            {
                Scanner scanner = new Scanner(System.in);

                try
                    {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    }
                catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    }
            }
    } Main public static void main (String[] args)
            {
                Scanner scanner = new Scanner(System.in);

                try
                    {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    }
                catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    }
            } main {
                Scanner scanner = new Scanner(System.in);

                try
                    {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    }
                catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    }
            } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) try
                    {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    }
                catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    } catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    } InputMismatchException e {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    } System.out.println("整数を入力してください") System.out.println System.out System System.out "整数を入力してください" e.printStackTrace() e.printStackTrace e {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    } int inputA = scanner.nextInt(); inputA scanner.nextInt() scanner.nextInt scanner int inputB = scanner.nextInt(); inputB scanner.nextInt() scanner.nextInt scanner int inputC = scanner.nextInt(); inputC scanner.nextInt() scanner.nextInt scanner if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            } inputA < inputB && inputB < inputC inputA < inputB inputA inputB inputB < inputC inputB inputC {
                                System.out.println("Yes");
                            } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
                                System.out.println("No");
                            } System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main
    {
        public static void main (String[] args)
            {
                Scanner scanner = new Scanner(System.in);

                try
                    {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    }
                catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    }
            }
    } public class Main
    {
        public static void main (String[] args)
            {
                Scanner scanner = new Scanner(System.in);

                try
                    {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    }
                catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    }
            }
    } Main
import java.util.InputMismatchException;
import java.util.Scanner;

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

                try
                    {
                        int inputA = scanner.nextInt();
                        int inputB = scanner.nextInt();
                        int inputC = scanner.nextInt();

                        if (inputA < inputB && inputB < inputC)
                            {
                                System.out.println("Yes");
                            }
                        else
                            {
                                System.out.println("No");
                            }
                    }
                catch (InputMismatchException e)
                    {
                        System.out.println("整数を入力してください");
                        e.printStackTrace();
                    }
            }
    }