import java.util.Scanner;
class Main{
    int a,b,c;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        if (a < b){
            if (b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
                System.out.println("No");
        }
    }
    public static void main(String[] args){
        new Main().solve();     
    }
 
} import java.util.Scanner; Scanner java.util class Main{
    int a,b,c;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        if (a < b){
            if (b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
                System.out.println("No");
        }
    }
    public static void main(String[] args){
        new Main().solve();     
    }
 
} Main int a a b b c; c public void solve(){
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        if (a < b){
            if (b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
                System.out.println("No");
        }
    } solve {
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        if (a < b){
            if (b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
                System.out.println("No");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc if (a < b){
            if (b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
                System.out.println("No");
        } a < b a b {
            if (b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        } if (b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            } b < c b c {
                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" {
                System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" public static void main(String[] args){
        new Main().solve();     
    } main {
        new Main().solve();     
    } new Main().solve() new Main().solve new Main() String[] args args
import java.util.Scanner;
class Main{
    int a,b,c;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();
        if (a < b){
            if (b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
                System.out.println("No");
        }
    }
    public static void main(String[] args){
        new Main().solve();     
    }
 
}