import java.util.Scanner;

class Main{
        public static void main(String args[]){
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                if(val1<val2&&val2<val3){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        }
} import java.util.Scanner; Scanner java.util class Main{
        public static void main(String args[]){
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                if(val1<val2&&val2<val3){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        }
} Main public static void main(String args[]){
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                if(val1<val2&&val2<val3){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        } main {
                Scanner scan = new Scanner(System.in);
                int val1=scan.nextInt();
                int val2=scan.nextInt();
                int val3=scan.nextInt();
                if(val1<val2&&val2<val3){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                }
        } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int val1=scan.nextInt(); val1 scan.nextInt() scan.nextInt scan int val2=scan.nextInt(); val2 scan.nextInt() scan.nextInt scan int val3=scan.nextInt(); val3 scan.nextInt() scan.nextInt scan if(val1<val2&&val2<val3){
                        System.out.println("Yes");
                }else{
                        System.out.println("No");
                } val1<val2&&val2<val3 val1<val2 val1 val2 val2<val3 val2 val3 {
                        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
import java.util.Scanner;

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