
import java.util.Scanner;

public class Main {
    public static void main(String args[]){
        Scanner in= new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
	String s;

	if (a < b && b < c)
		s = "Yes";
	else
		s = "No";
        System.out.printf("%s%n", s);
    }   
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String args[]){
        Scanner in= new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
	String s;

	if (a < b && b < c)
		s = "Yes";
	else
		s = "No";
        System.out.printf("%s%n", s);
    }   
} Main public static void main(String args[]){
        Scanner in= new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
	String s;

	if (a < b && b < c)
		s = "Yes";
	else
		s = "No";
        System.out.printf("%s%n", s);
    } main {
        Scanner in= new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
	String s;

	if (a < b && b < c)
		s = "Yes";
	else
		s = "No";
        System.out.printf("%s%n", s);
    } Scanner in= new Scanner(System.in); in new Scanner(System.in) int a = in.nextInt(); a in.nextInt() in.nextInt in int b = in.nextInt(); b in.nextInt() in.nextInt in int c = in.nextInt(); c in.nextInt() in.nextInt in String s; s if (a < b && b < c)
		s = "Yes";
	else
		s = "No"; a < b && b < c a < b a b b < c b c s = "Yes" s "Yes" s = "No" s "No" System.out.printf("%s%n", s) System.out.printf System.out System System.out "%s%n" s String args[] args public class Main {
    public static void main(String args[]){
        Scanner in= new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
	String s;

	if (a < b && b < c)
		s = "Yes";
	else
		s = "No";
        System.out.printf("%s%n", s);
    }   
} public class Main {
    public static void main(String args[]){
        Scanner in= new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
	String s;

	if (a < b && b < c)
		s = "Yes";
	else
		s = "No";
        System.out.printf("%s%n", s);
    }   
} Main

import java.util.Scanner;

public class Main {
    public static void main(String args[]){
        Scanner in= new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
	String s;

	if (a < b && b < c)
		s = "Yes";
	else
		s = "No";
        System.out.printf("%s%n", s);
    }   
}