import java.io.*;

public class Main{
public static void main(String[] args){
	try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	}catch(IOException e){
	System.out.println(e);
	}
}
}	 import java.io.*; io.* java public class Main{
public static void main(String[] args){
	try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	}catch(IOException e){
	System.out.println(e);
	}
}
} Main public static void main(String[] args){
	try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	}catch(IOException e){
	System.out.println(e);
	}
} main {
	try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	}catch(IOException e){
	System.out.println(e);
	}
} try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	}catch(IOException e){
	System.out.println(e);
	} catch(IOException e){
	System.out.println(e);
	} IOException e {
	System.out.println(e);
	} System.out.println(e) System.out.println System.out System System.out e {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] str = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int num0 = Integer.parseInt(str[0]); num0 Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int num1 = Integer.parseInt(str[1]); num1 Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 int num2 = Integer.parseInt(str[2]); num2 Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		} num0 < num1 && num1 < num2 num0 < num1 num0 num1 num1 < num2 num1 num2 {
		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){
	try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	}catch(IOException e){
	System.out.println(e);
	}
}
} public class Main{
public static void main(String[] args){
	try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	}catch(IOException e){
	System.out.println(e);
	}
}
} Main
import java.io.*;

public class Main{
public static void main(String[] args){
	try{
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String[] str = br.readLine().split(" ");
	int num0 = Integer.parseInt(str[0]);
	int num1 = Integer.parseInt(str[1]);
	int num2 = Integer.parseInt(str[2]);

		if ( num0 < num1 && num1 < num2){
		System.out.println("Yes");
		}else{
		System.out.println("No");
		}
	}catch(IOException e){
	System.out.println(e);
	}
}
}	