import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scan s = new Scan();
		s.getNum();
	}
}

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

public class Main {
	public static void main(String[] args) {
		Scan s = new Scan();
		s.getNum();
	}
}

class Scan {
	public static void getNum() {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		int b = s.nextInt();
		int c = s.nextInt();
		if (a < b && b < c) {		
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}