import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void  main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		StringBuffer out = new StringBuffer() ;
		out.append("No");
		if(a<b){
			if(b<c){
				out.replace(0,2,"Yes");
			}
		}
		System.out.println(out);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void  main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		StringBuffer out = new StringBuffer() ;
		out.append("No");
		if(a<b){
			if(b<c){
				out.replace(0,2,"Yes");
			}
		}
		System.out.println(out);
	}
} Main public static void  main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		StringBuffer out = new StringBuffer() ;
		out.append("No");
		if(a<b){
			if(b<c){
				out.replace(0,2,"Yes");
			}
		}
		System.out.println(out);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		StringBuffer out = new StringBuffer() ;
		out.append("No");
		if(a<b){
			if(b<c){
				out.replace(0,2,"Yes");
			}
		}
		System.out.println(out);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String strArray[] = str.split(" "); strArray str.split(" ") str.split str " " int a = Integer.parseInt(strArray[0]); a Integer.parseInt(strArray[0]) Integer.parseInt Integer strArray[0] strArray 0 int b = Integer.parseInt(strArray[1]); b Integer.parseInt(strArray[1]) Integer.parseInt Integer strArray[1] strArray 1 int c = Integer.parseInt(strArray[2]); c Integer.parseInt(strArray[2]) Integer.parseInt Integer strArray[2] strArray 2 StringBuffer out = new StringBuffer() ; out new StringBuffer() out.append("No") out.append out "No" if(a<b){
			if(b<c){
				out.replace(0,2,"Yes");
			}
		} a<b a b {
			if(b<c){
				out.replace(0,2,"Yes");
			}
		} if(b<c){
				out.replace(0,2,"Yes");
			} b<c b c {
				out.replace(0,2,"Yes");
			} out.replace(0,2,"Yes") out.replace out 0 2 "Yes" System.out.println(out) System.out.println System.out System System.out out String[] args args public class Main {
	public static void  main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		StringBuffer out = new StringBuffer() ;
		out.append("No");
		if(a<b){
			if(b<c){
				out.replace(0,2,"Yes");
			}
		}
		System.out.println(out);
	}
} public class Main {
	public static void  main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		StringBuffer out = new StringBuffer() ;
		out.append("No");
		if(a<b){
			if(b<c){
				out.replace(0,2,"Yes");
			}
		}
		System.out.println(out);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void  main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);
		int c = Integer.parseInt(strArray[2]);
		StringBuffer out = new StringBuffer() ;
		out.append("No");
		if(a<b){
			if(b<c){
				out.replace(0,2,"Yes");
			}
		}
		System.out.println(out);
	}
}