public class Main {
	public static void main(String[] age){
		String input = new java.util.Scanner(System.in).nextLine();
		String[] arrayinput = input.split(" ");
		int a = Integer.parseInt(arrayinput[0]);
		int b = Integer.parseInt(arrayinput[1]);
		int c = Integer.parseInt(arrayinput[2]);
		int z=0;
		if(a<b) z++;
		if(b<c) z++;
		if(z == 2){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} public class Main {
	public static void main(String[] age){
		String input = new java.util.Scanner(System.in).nextLine();
		String[] arrayinput = input.split(" ");
		int a = Integer.parseInt(arrayinput[0]);
		int b = Integer.parseInt(arrayinput[1]);
		int c = Integer.parseInt(arrayinput[2]);
		int z=0;
		if(a<b) z++;
		if(b<c) z++;
		if(z == 2){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} Main public static void main(String[] age){
		String input = new java.util.Scanner(System.in).nextLine();
		String[] arrayinput = input.split(" ");
		int a = Integer.parseInt(arrayinput[0]);
		int b = Integer.parseInt(arrayinput[1]);
		int c = Integer.parseInt(arrayinput[2]);
		int z=0;
		if(a<b) z++;
		if(b<c) z++;
		if(z == 2){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	} main {
		String input = new java.util.Scanner(System.in).nextLine();
		String[] arrayinput = input.split(" ");
		int a = Integer.parseInt(arrayinput[0]);
		int b = Integer.parseInt(arrayinput[1]);
		int c = Integer.parseInt(arrayinput[2]);
		int z=0;
		if(a<b) z++;
		if(b<c) z++;
		if(z == 2){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	} String input = new java.util.Scanner(System.in).nextLine(); input new java.util.Scanner(System.in).nextLine() new java.util.Scanner(System.in).nextLine new java.util.Scanner(System.in) String[] arrayinput = input.split(" "); arrayinput input.split(" ") input.split input " " int a = Integer.parseInt(arrayinput[0]); a Integer.parseInt(arrayinput[0]) Integer.parseInt Integer arrayinput[0] arrayinput 0 int b = Integer.parseInt(arrayinput[1]); b Integer.parseInt(arrayinput[1]) Integer.parseInt Integer arrayinput[1] arrayinput 1 int c = Integer.parseInt(arrayinput[2]); c Integer.parseInt(arrayinput[2]) Integer.parseInt Integer arrayinput[2] arrayinput 2 int z=0; z 0 if(a<b) z++; a<b a b z++ z if(b<c) z++; b<c b c z++ z if(z == 2){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		} z == 2 z 2 {
			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" String[] age age public class Main {
	public static void main(String[] age){
		String input = new java.util.Scanner(System.in).nextLine();
		String[] arrayinput = input.split(" ");
		int a = Integer.parseInt(arrayinput[0]);
		int b = Integer.parseInt(arrayinput[1]);
		int c = Integer.parseInt(arrayinput[2]);
		int z=0;
		if(a<b) z++;
		if(b<c) z++;
		if(z == 2){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} public class Main {
	public static void main(String[] age){
		String input = new java.util.Scanner(System.in).nextLine();
		String[] arrayinput = input.split(" ");
		int a = Integer.parseInt(arrayinput[0]);
		int b = Integer.parseInt(arrayinput[1]);
		int c = Integer.parseInt(arrayinput[2]);
		int z=0;
		if(a<b) z++;
		if(b<c) z++;
		if(z == 2){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} Main
public class Main {
	public static void main(String[] age){
		String input = new java.util.Scanner(System.in).nextLine();
		String[] arrayinput = input.split(" ");
		int a = Integer.parseInt(arrayinput[0]);
		int b = Integer.parseInt(arrayinput[1]);
		int c = Integer.parseInt(arrayinput[2]);
		int z=0;
		if(a<b) z++;
		if(b<c) z++;
		if(z == 2){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}