import java.io.*;
class Main{
    public static void main(String[] args) throws NumberFormatException,IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1);
         
        String line = r.readLine();    
        String[] w = line.split(" ",0); 
        int a=Integer.parseInt(w[0]);
        int b=Integer.parseInt(w[1]);
        int c=Integer.parseInt(w[2]);
        System.out.println(a<b&&b<c?"Yes":"No");
        r.close();
    }
} import java.io.*; io.* java class Main{
    public static void main(String[] args) throws NumberFormatException,IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1);
         
        String line = r.readLine();    
        String[] w = line.split(" ",0); 
        int a=Integer.parseInt(w[0]);
        int b=Integer.parseInt(w[1]);
        int c=Integer.parseInt(w[2]);
        System.out.println(a<b&&b<c?"Yes":"No");
        r.close();
    }
} Main public static void main(String[] args) throws NumberFormatException,IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1);
         
        String line = r.readLine();    
        String[] w = line.split(" ",0); 
        int a=Integer.parseInt(w[0]);
        int b=Integer.parseInt(w[1]);
        int c=Integer.parseInt(w[2]);
        System.out.println(a<b&&b<c?"Yes":"No");
        r.close();
    } main {
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1);
         
        String line = r.readLine();    
        String[] w = line.split(" ",0); 
        int a=Integer.parseInt(w[0]);
        int b=Integer.parseInt(w[1]);
        int c=Integer.parseInt(w[2]);
        System.out.println(a<b&&b<c?"Yes":"No");
        r.close();
    } BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1); r new BufferedReader(new InputStreamReader(System.in), 1) String line = r.readLine(); line r.readLine() r.readLine r String[] w = line.split(" ",0); w line.split(" ",0) line.split line " " 0 int a=Integer.parseInt(w[0]); a Integer.parseInt(w[0]) Integer.parseInt Integer w[0] w 0 int b=Integer.parseInt(w[1]); b Integer.parseInt(w[1]) Integer.parseInt Integer w[1] w 1 int c=Integer.parseInt(w[2]); c Integer.parseInt(w[2]) Integer.parseInt Integer w[2] w 2 System.out.println(a<b&&b<c?"Yes":"No") System.out.println System.out System System.out a<b&&b<c?"Yes":"No" a<b&&b<c a<b a b b<c b c "Yes" "No" r.close() r.close r String[] args args
import java.io.*;
class Main{
    public static void main(String[] args) throws NumberFormatException,IOException{
        BufferedReader r =
         new BufferedReader(new InputStreamReader(System.in), 1);
         
        String line = r.readLine();    
        String[] w = line.split(" ",0); 
        int a=Integer.parseInt(w[0]);
        int b=Integer.parseInt(w[1]);
        int c=Integer.parseInt(w[2]);
        System.out.println(a<b&&b<c?"Yes":"No");
        r.close();
    }
}