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