import java.util.Scanner;

class Main{

	public static void main(String[] args) {

	int[] n;
	n = new int[3];

	Scanner scan = new Scanner(System.in);

	n[0] = scan.nextInt();
	n[1] = scan.nextInt();
	n[2] = scan.nextInt();

	if(n[0] < n[1] && n[1] < n[2]) System.out.println("Yes");
	else System.out.println("No");

	scan.close();
	}
} import java.util.Scanner; Scanner java.util class Main{

	public static void main(String[] args) {

	int[] n;
	n = new int[3];

	Scanner scan = new Scanner(System.in);

	n[0] = scan.nextInt();
	n[1] = scan.nextInt();
	n[2] = scan.nextInt();

	if(n[0] < n[1] && n[1] < n[2]) System.out.println("Yes");
	else System.out.println("No");

	scan.close();
	}
} Main public static void main(String[] args) {

	int[] n;
	n = new int[3];

	Scanner scan = new Scanner(System.in);

	n[0] = scan.nextInt();
	n[1] = scan.nextInt();
	n[2] = scan.nextInt();

	if(n[0] < n[1] && n[1] < n[2]) System.out.println("Yes");
	else System.out.println("No");

	scan.close();
	} main {

	int[] n;
	n = new int[3];

	Scanner scan = new Scanner(System.in);

	n[0] = scan.nextInt();
	n[1] = scan.nextInt();
	n[2] = scan.nextInt();

	if(n[0] < n[1] && n[1] < n[2]) System.out.println("Yes");
	else System.out.println("No");

	scan.close();
	} int[] n; n n = new int[3] n new int[3] 3 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) n[0] = scan.nextInt() n[0] n 0 scan.nextInt() scan.nextInt scan n[1] = scan.nextInt() n[1] n 1 scan.nextInt() scan.nextInt scan n[2] = scan.nextInt() n[2] n 2 scan.nextInt() scan.nextInt scan if(n[0] < n[1] && n[1] < n[2]) System.out.println("Yes");
	else System.out.println("No"); n[0] < n[1] && n[1] < n[2] n[0] < n[1] n[0] n 0 n[1] n 1 n[1] < n[2] n[1] n 1 n[2] n 2 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" scan.close() scan.close scan String[] args args
import java.util.Scanner;

class Main{

	public static void main(String[] args) {

	int[] n;
	n = new int[3];

	Scanner scan = new Scanner(System.in);

	n[0] = scan.nextInt();
	n[1] = scan.nextInt();
	n[2] = scan.nextInt();

	if(n[0] < n[1] && n[1] < n[2]) System.out.println("Yes");
	else System.out.println("No");

	scan.close();
	}
}