import java.util.Scanner;
public class Main{
    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);

	int num = scan.nextInt();
	int num1 = scan.nextInt();
	int num2 = scan.nextInt();


	if( num < num1 && num1 < num2)

	    System.out.println("Yes");
else
	System.out.println("No");
    }

} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);

	int num = scan.nextInt();
	int num1 = scan.nextInt();
	int num2 = scan.nextInt();


	if( num < num1 && num1 < num2)

	    System.out.println("Yes");
else
	System.out.println("No");
    }

} Main public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);

	int num = scan.nextInt();
	int num1 = scan.nextInt();
	int num2 = scan.nextInt();


	if( num < num1 && num1 < num2)

	    System.out.println("Yes");
else
	System.out.println("No");
    } main {
	Scanner scan = new Scanner(System.in);

	int num = scan.nextInt();
	int num1 = scan.nextInt();
	int num2 = scan.nextInt();


	if( num < num1 && num1 < num2)

	    System.out.println("Yes");
else
	System.out.println("No");
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int num = scan.nextInt(); num scan.nextInt() scan.nextInt scan int num1 = scan.nextInt(); num1 scan.nextInt() scan.nextInt scan int num2 = scan.nextInt(); num2 scan.nextInt() scan.nextInt scan if( num < num1 && num1 < num2)

	    System.out.println("Yes");
else
	System.out.println("No"); num < num1 && num1 < num2 num < num1 num num1 num1 < num2 num1 num2 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 argv[] argv public class Main{
    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);

	int num = scan.nextInt();
	int num1 = scan.nextInt();
	int num2 = scan.nextInt();


	if( num < num1 && num1 < num2)

	    System.out.println("Yes");
else
	System.out.println("No");
    }

} public class Main{
    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);

	int num = scan.nextInt();
	int num1 = scan.nextInt();
	int num2 = scan.nextInt();


	if( num < num1 && num1 < num2)

	    System.out.println("Yes");
else
	System.out.println("No");
    }

} Main
import java.util.Scanner;
public class Main{
    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);

	int num = scan.nextInt();
	int num1 = scan.nextInt();
	int num2 = scan.nextInt();


	if( num < num1 && num1 < num2)

	    System.out.println("Yes");
else
	System.out.println("No");
    }

}