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