import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	int a,b,c;
	String s = buf.readLine();
	String[] strlAry =s.split(" ");
	for(int i=0;i<strlAry.length;i++){
	}	
	a= Integer.parseInt(strlAry[0]);
	b= Integer.parseInt(strlAry[1]);
	c= Integer.parseInt(strlAry[2]);

	if(a<b&&b<c){
		System.out.println("Yes");
		}
	else{
		System.out.println("No");
	}

	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	int a,b,c;
	String s = buf.readLine();
	String[] strlAry =s.split(" ");
	for(int i=0;i<strlAry.length;i++){
	}	
	a= Integer.parseInt(strlAry[0]);
	b= Integer.parseInt(strlAry[1]);
	c= Integer.parseInt(strlAry[2]);

	if(a<b&&b<c){
		System.out.println("Yes");
		}
	else{
		System.out.println("No");
	}

	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	int a,b,c;
	String s = buf.readLine();
	String[] strlAry =s.split(" ");
	for(int i=0;i<strlAry.length;i++){
	}	
	a= Integer.parseInt(strlAry[0]);
	b= Integer.parseInt(strlAry[1]);
	c= Integer.parseInt(strlAry[2]);

	if(a<b&&b<c){
		System.out.println("Yes");
		}
	else{
		System.out.println("No");
	}

	} main {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	int a,b,c;
	String s = buf.readLine();
	String[] strlAry =s.split(" ");
	for(int i=0;i<strlAry.length;i++){
	}	
	a= Integer.parseInt(strlAry[0]);
	b= Integer.parseInt(strlAry[1]);
	c= Integer.parseInt(strlAry[2]);

	if(a<b&&b<c){
		System.out.println("Yes");
		}
	else{
		System.out.println("No");
	}

	} BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) int a a b b c; c String s = buf.readLine(); s buf.readLine() buf.readLine buf String[] strlAry =s.split(" "); strlAry s.split(" ") s.split s " " for(int i=0;i<strlAry.length;i++){
	} int i=0; int i=0; i 0 i<strlAry.length i strlAry.length strlAry strlAry.length i++ i++ i {
	} {
	} a= Integer.parseInt(strlAry[0]) a Integer.parseInt(strlAry[0]) Integer.parseInt Integer strlAry[0] strlAry 0 b= Integer.parseInt(strlAry[1]) b Integer.parseInt(strlAry[1]) Integer.parseInt Integer strlAry[1] strlAry 1 c= Integer.parseInt(strlAry[2]) c Integer.parseInt(strlAry[2]) Integer.parseInt Integer strlAry[2] strlAry 2 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" String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	int a,b,c;
	String s = buf.readLine();
	String[] strlAry =s.split(" ");
	for(int i=0;i<strlAry.length;i++){
	}	
	a= Integer.parseInt(strlAry[0]);
	b= Integer.parseInt(strlAry[1]);
	c= Integer.parseInt(strlAry[2]);

	if(a<b&&b<c){
		System.out.println("Yes");
		}
	else{
		System.out.println("No");
	}

	}
} public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	int a,b,c;
	String s = buf.readLine();
	String[] strlAry =s.split(" ");
	for(int i=0;i<strlAry.length;i++){
	}	
	a= Integer.parseInt(strlAry[0]);
	b= Integer.parseInt(strlAry[1]);
	c= Integer.parseInt(strlAry[2]);

	if(a<b&&b<c){
		System.out.println("Yes");
		}
	else{
		System.out.println("No");
	}

	}
} Main
import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	int a,b,c;
	String s = buf.readLine();
	String[] strlAry =s.split(" ");
	for(int i=0;i<strlAry.length;i++){
	}	
	a= Integer.parseInt(strlAry[0]);
	b= Integer.parseInt(strlAry[1]);
	c= Integer.parseInt(strlAry[2]);

	if(a<b&&b<c){
		System.out.println("Yes");
		}
	else{
		System.out.println("No");
	}

	}
}