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