import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		boolean flag = true;
		int a = sc.nextInt();
		int b = sc.nextInt();
		if (a >= b) {flag = false;}
		int c = sc.nextInt();
		if (b >= c) {flag = false;}
		System.out.println(flag==true?"Yes":"No");
		
	}
}
 import java.util.*; util.* java public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		boolean flag = true;
		int a = sc.nextInt();
		int b = sc.nextInt();
		if (a >= b) {flag = false;}
		int c = sc.nextInt();
		if (b >= c) {flag = false;}
		System.out.println(flag==true?"Yes":"No");
		
	}
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
		boolean flag = true;
		int a = sc.nextInt();
		int b = sc.nextInt();
		if (a >= b) {flag = false;}
		int c = sc.nextInt();
		if (b >= c) {flag = false;}
		System.out.println(flag==true?"Yes":"No");
		
	} main {
		boolean flag = true;
		int a = sc.nextInt();
		int b = sc.nextInt();
		if (a >= b) {flag = false;}
		int c = sc.nextInt();
		if (b >= c) {flag = false;}
		System.out.println(flag==true?"Yes":"No");
		
	} boolean flag = true; flag true int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc if (a >= b) {flag = false;} a >= b a b {flag = false;} flag = false flag false int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc if (b >= c) {flag = false;} b >= c b c {flag = false;} flag = false flag false System.out.println(flag==true?"Yes":"No") System.out.println System.out System System.out flag==true?"Yes":"No" flag==true flag true "Yes" "No" String[] args args public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		boolean flag = true;
		int a = sc.nextInt();
		int b = sc.nextInt();
		if (a >= b) {flag = false;}
		int c = sc.nextInt();
		if (b >= c) {flag = false;}
		System.out.println(flag==true?"Yes":"No");
		
	}
} public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		boolean flag = true;
		int a = sc.nextInt();
		int b = sc.nextInt();
		if (a >= b) {flag = false;}
		int c = sc.nextInt();
		if (b >= c) {flag = false;}
		System.out.println(flag==true?"Yes":"No");
		
	}
} Main
import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		boolean flag = true;
		int a = sc.nextInt();
		int b = sc.nextInt();
		if (a >= b) {flag = false;}
		int c = sc.nextInt();
		if (b >= c) {flag = false;}
		System.out.println(flag==true?"Yes":"No");
		
	}
}

