import java.util.Scanner;
class Main {

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

    
    public static void main(String[] args) {
        Scanner x = new Scanner(System.in);
        int a, b, c;
        a = x.nextInt(); b = x.nextInt(); c = x.nextInt();
        if(a >= 0 && a<= 1000 && b >= 0 && b<= 1000 && c >= 0 && b<= 1000){
            if(a < b && b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        
        }
    }
}