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