import java.util.*;
import java.io.*;
import java.lang.*;

public class Main {
    static final int INF = 1000000000;     
    
    public static void main(String[] args) throws Exception {                
        Scanner input = new Scanner(System.in);
        int a, b, c;
        a = input.nextInt();
        b = input.nextInt();
        c = input.nextInt();
        if (a < b && b < c) System.out.println("Yes");
        else System.out.println("No");
    }         
} import java.util.*; util.* java import java.io.*; io.* java import java.lang.*; lang.* java public class Main {
    static final int INF = 1000000000;     
    
    public static void main(String[] args) throws Exception {                
        Scanner input = new Scanner(System.in);
        int a, b, c;
        a = input.nextInt();
        b = input.nextInt();
        c = input.nextInt();
        if (a < b && b < c) System.out.println("Yes");
        else System.out.println("No");
    }         
} Main static final int INF = 1000000000; INF 1000000000 public static void main(String[] args) throws Exception {                
        Scanner input = new Scanner(System.in);
        int a, b, c;
        a = input.nextInt();
        b = input.nextInt();
        c = input.nextInt();
        if (a < b && b < c) System.out.println("Yes");
        else System.out.println("No");
    } main {                
        Scanner input = new Scanner(System.in);
        int a, b, c;
        a = input.nextInt();
        b = input.nextInt();
        c = input.nextInt();
        if (a < b && b < c) System.out.println("Yes");
        else System.out.println("No");
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) int a a b b c; c a = input.nextInt() a input.nextInt() input.nextInt input b = input.nextInt() b input.nextInt() input.nextInt input c = input.nextInt() c input.nextInt() input.nextInt input 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 System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {
    static final int INF = 1000000000;     
    
    public static void main(String[] args) throws Exception {                
        Scanner input = new Scanner(System.in);
        int a, b, c;
        a = input.nextInt();
        b = input.nextInt();
        c = input.nextInt();
        if (a < b && b < c) System.out.println("Yes");
        else System.out.println("No");
    }         
} public class Main {
    static final int INF = 1000000000;     
    
    public static void main(String[] args) throws Exception {                
        Scanner input = new Scanner(System.in);
        int a, b, c;
        a = input.nextInt();
        b = input.nextInt();
        c = input.nextInt();
        if (a < b && b < c) System.out.println("Yes");
        else System.out.println("No");
    }         
} Main
import java.util.*;
import java.io.*;
import java.lang.*;

public class Main {
    static final int INF = 1000000000;     
    
    public static void main(String[] args) throws Exception {                
        Scanner input = new Scanner(System.in);
        int a, b, c;
        a = input.nextInt();
        b = input.nextInt();
        c = input.nextInt();
        if (a < b && b < c) System.out.println("Yes");
        else System.out.println("No");
    }         
}