import java.util.*;
import java.io.*;
import java.awt.geom.*;
import java.math.*;
 
public class Main {
 
	static final Scanner in = new Scanner(System.in);
	static final PrintWriter out = new PrintWriter(System.out,false);
	static boolean debug = false;
 
	static void solve() {
		int a=in.nextInt();
		int b=in.nextInt();
		int c=in.nextInt();
		if(a<b&&b<c)out.println("Yes");
		else out.println("No");
	}
 
	public static void main(String[] args) {
		debug = args.length > 0;
		long start = System.nanoTime();
 
		solve();
		out.flush();
 
		long end = System.nanoTime();
		dump((end - start) / 1000000 + " ms");
		in.close();
		out.close();
	}
 
	static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }
} import java.util.*; util.* java import java.io.*; io.* java import java.awt.geom.*; geom.* java.awt import java.math.*; math.* java public class Main {
 
	static final Scanner in = new Scanner(System.in);
	static final PrintWriter out = new PrintWriter(System.out,false);
	static boolean debug = false;
 
	static void solve() {
		int a=in.nextInt();
		int b=in.nextInt();
		int c=in.nextInt();
		if(a<b&&b<c)out.println("Yes");
		else out.println("No");
	}
 
	public static void main(String[] args) {
		debug = args.length > 0;
		long start = System.nanoTime();
 
		solve();
		out.flush();
 
		long end = System.nanoTime();
		dump((end - start) / 1000000 + " ms");
		in.close();
		out.close();
	}
 
	static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }
} Main static final Scanner in = new Scanner(System.in); in new Scanner(System.in) static final PrintWriter out = new PrintWriter(System.out,false); out new PrintWriter(System.out,false) static boolean debug = false; debug false static void solve() {
		int a=in.nextInt();
		int b=in.nextInt();
		int c=in.nextInt();
		if(a<b&&b<c)out.println("Yes");
		else out.println("No");
	} solve {
		int a=in.nextInt();
		int b=in.nextInt();
		int c=in.nextInt();
		if(a<b&&b<c)out.println("Yes");
		else out.println("No");
	} int a=in.nextInt(); a in.nextInt() in.nextInt in int b=in.nextInt(); b in.nextInt() in.nextInt in int c=in.nextInt(); c in.nextInt() in.nextInt in if(a<b&&b<c)out.println("Yes");
		else out.println("No"); a<b&&b<c a<b a b b<c b c out.println("Yes") out.println out "Yes" out.println("No") out.println out "No" public static void main(String[] args) {
		debug = args.length > 0;
		long start = System.nanoTime();
 
		solve();
		out.flush();
 
		long end = System.nanoTime();
		dump((end - start) / 1000000 + " ms");
		in.close();
		out.close();
	} main {
		debug = args.length > 0;
		long start = System.nanoTime();
 
		solve();
		out.flush();
 
		long end = System.nanoTime();
		dump((end - start) / 1000000 + " ms");
		in.close();
		out.close();
	} debug = args.length > 0 debug args.length > 0 args.length args args.length 0 long start = System.nanoTime(); start System.nanoTime() System.nanoTime System solve() solve out.flush() out.flush out long end = System.nanoTime(); end System.nanoTime() System.nanoTime System dump((end - start) / 1000000 + " ms") dump (end - start) / 1000000 + " ms" (end - start) / 1000000 (end - start) end start 1000000 " ms" in.close() in.close in out.close() out.close out String[] args args static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); } dump { if (debug) System.err.println(Arrays.deepToString(o)); } if (debug) System.err.println(Arrays.deepToString(o)); debug System.err.println(Arrays.deepToString(o)) System.err.println System.err System System.err Arrays.deepToString(o) Arrays.deepToString Arrays o Object... o o public class Main {
 
	static final Scanner in = new Scanner(System.in);
	static final PrintWriter out = new PrintWriter(System.out,false);
	static boolean debug = false;
 
	static void solve() {
		int a=in.nextInt();
		int b=in.nextInt();
		int c=in.nextInt();
		if(a<b&&b<c)out.println("Yes");
		else out.println("No");
	}
 
	public static void main(String[] args) {
		debug = args.length > 0;
		long start = System.nanoTime();
 
		solve();
		out.flush();
 
		long end = System.nanoTime();
		dump((end - start) / 1000000 + " ms");
		in.close();
		out.close();
	}
 
	static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }
} public class Main {
 
	static final Scanner in = new Scanner(System.in);
	static final PrintWriter out = new PrintWriter(System.out,false);
	static boolean debug = false;
 
	static void solve() {
		int a=in.nextInt();
		int b=in.nextInt();
		int c=in.nextInt();
		if(a<b&&b<c)out.println("Yes");
		else out.println("No");
	}
 
	public static void main(String[] args) {
		debug = args.length > 0;
		long start = System.nanoTime();
 
		solve();
		out.flush();
 
		long end = System.nanoTime();
		dump((end - start) / 1000000 + " ms");
		in.close();
		out.close();
	}
 
	static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }
} Main
import java.util.*;
import java.io.*;
import java.awt.geom.*;
import java.math.*;
 
public class Main {
 
	static final Scanner in = new Scanner(System.in);
	static final PrintWriter out = new PrintWriter(System.out,false);
	static boolean debug = false;
 
	static void solve() {
		int a=in.nextInt();
		int b=in.nextInt();
		int c=in.nextInt();
		if(a<b&&b<c)out.println("Yes");
		else out.println("No");
	}
 
	public static void main(String[] args) {
		debug = args.length > 0;
		long start = System.nanoTime();
 
		solve();
		out.flush();
 
		long end = System.nanoTime();
		dump((end - start) / 1000000 + " ms");
		in.close();
		out.close();
	}
 
	static void dump(Object... o) { if (debug) System.err.println(Arrays.deepToString(o)); }
}