import java.util.Scanner;

class Main{

    public static void main(String[] args) {
 
        int n1,n2,n3;
        String str1,str2,str3;
 
		Scanner in = new Scanner(System.in);
 
        str1 = in.next();
        str2 = in.next();
        str3 = in.next();
 
        n1 = Integer.parseInt(str1);
        n2 = Integer.parseInt(str2);
        n3 = Integer.parseInt(str3);
        
        if(n1 < n2 && n2 < n3) System.out.println("Yes");
        else System.out.println("No");
 
        in.close();
    }
} import java.util.Scanner; Scanner java.util class Main{

    public static void main(String[] args) {
 
        int n1,n2,n3;
        String str1,str2,str3;
 
		Scanner in = new Scanner(System.in);
 
        str1 = in.next();
        str2 = in.next();
        str3 = in.next();
 
        n1 = Integer.parseInt(str1);
        n2 = Integer.parseInt(str2);
        n3 = Integer.parseInt(str3);
        
        if(n1 < n2 && n2 < n3) System.out.println("Yes");
        else System.out.println("No");
 
        in.close();
    }
} Main public static void main(String[] args) {
 
        int n1,n2,n3;
        String str1,str2,str3;
 
		Scanner in = new Scanner(System.in);
 
        str1 = in.next();
        str2 = in.next();
        str3 = in.next();
 
        n1 = Integer.parseInt(str1);
        n2 = Integer.parseInt(str2);
        n3 = Integer.parseInt(str3);
        
        if(n1 < n2 && n2 < n3) System.out.println("Yes");
        else System.out.println("No");
 
        in.close();
    } main {
 
        int n1,n2,n3;
        String str1,str2,str3;
 
		Scanner in = new Scanner(System.in);
 
        str1 = in.next();
        str2 = in.next();
        str3 = in.next();
 
        n1 = Integer.parseInt(str1);
        n2 = Integer.parseInt(str2);
        n3 = Integer.parseInt(str3);
        
        if(n1 < n2 && n2 < n3) System.out.println("Yes");
        else System.out.println("No");
 
        in.close();
    } int n1 n1 n2 n2 n3; n3 String str1 str1 str2 str2 str3; str3 Scanner in = new Scanner(System.in); in new Scanner(System.in) str1 = in.next() str1 in.next() in.next in str2 = in.next() str2 in.next() in.next in str3 = in.next() str3 in.next() in.next in n1 = Integer.parseInt(str1) n1 Integer.parseInt(str1) Integer.parseInt Integer str1 n2 = Integer.parseInt(str2) n2 Integer.parseInt(str2) Integer.parseInt Integer str2 n3 = Integer.parseInt(str3) n3 Integer.parseInt(str3) Integer.parseInt Integer str3 if(n1 < n2 && n2 < n3) System.out.println("Yes");
        else System.out.println("No"); n1 < n2 && n2 < n3 n1 < n2 n1 n2 n2 < n3 n2 n3 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" in.close() in.close in String[] args args
import java.util.Scanner;

class Main{

    public static void main(String[] args) {
 
        int n1,n2,n3;
        String str1,str2,str3;
 
		Scanner in = new Scanner(System.in);
 
        str1 = in.next();
        str2 = in.next();
        str3 = in.next();
 
        n1 = Integer.parseInt(str1);
        n2 = Integer.parseInt(str2);
        n3 = Integer.parseInt(str3);
        
        if(n1 < n2 && n2 < n3) System.out.println("Yes");
        else System.out.println("No");
 
        in.close();
    }
}