
import java.util.Scanner;

public class Main {

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

		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		String str = a < b && b < c ? "Yes" : "No";
		
		System.out.println(str);
		
		scan.close();

	}

} import java.util.Scanner; Scanner java.util public class Main {

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

		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		String str = a < b && b < c ? "Yes" : "No";
		
		System.out.println(str);
		
		scan.close();

	}

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

		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		String str = a < b && b < c ? "Yes" : "No";
		
		System.out.println(str);
		
		scan.close();

	} main {
		Scanner scan = new Scanner(System.in);		

		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		String str = a < b && b < c ? "Yes" : "No";
		
		System.out.println(str);
		
		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan String str = a < b && b < c ? "Yes" : "No"; str a < b && b < c ? "Yes" : "No" a < b && b < c a < b a b b < c b c "Yes" "No" System.out.println(str) System.out.println System.out System System.out str scan.close() scan.close scan String[] args args public class Main {

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

		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		String str = a < b && b < c ? "Yes" : "No";
		
		System.out.println(str);
		
		scan.close();

	}

} public class Main {

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

		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		String str = a < b && b < c ? "Yes" : "No";
		
		System.out.println(str);
		
		scan.close();

	}

} Main

import java.util.Scanner;

public class Main {

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

		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();

		String str = a < b && b < c ? "Yes" : "No";
		
		System.out.println(str);
		
		scan.close();

	}

}