import java.io.*;
public class Main{
	public static void main(String [] args) throws NumberFormatException, IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] st=br.readLine().split(" ");
		int a=Integer.parseInt(st[0]);
		int b=Integer.parseInt(st[1]);
		int c=Integer.parseInt(st[2]);
		System.out.println(a<b&&b<c?"Yes":"No");
	}} import java.io.*; io.* java public class Main{
	public static void main(String [] args) throws NumberFormatException, IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] st=br.readLine().split(" ");
		int a=Integer.parseInt(st[0]);
		int b=Integer.parseInt(st[1]);
		int c=Integer.parseInt(st[2]);
		System.out.println(a<b&&b<c?"Yes":"No");
	}} Main public static void main(String [] args) throws NumberFormatException, IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] st=br.readLine().split(" ");
		int a=Integer.parseInt(st[0]);
		int b=Integer.parseInt(st[1]);
		int c=Integer.parseInt(st[2]);
		System.out.println(a<b&&b<c?"Yes":"No");
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] st=br.readLine().split(" ");
		int a=Integer.parseInt(st[0]);
		int b=Integer.parseInt(st[1]);
		int c=Integer.parseInt(st[2]);
		System.out.println(a<b&&b<c?"Yes":"No");
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] st=br.readLine().split(" "); st br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a=Integer.parseInt(st[0]); a Integer.parseInt(st[0]) Integer.parseInt Integer st[0] st 0 int b=Integer.parseInt(st[1]); b Integer.parseInt(st[1]) Integer.parseInt Integer st[1] st 1 int c=Integer.parseInt(st[2]); c Integer.parseInt(st[2]) Integer.parseInt Integer st[2] st 2 System.out.println(a<b&&b<c?"Yes":"No") System.out.println System.out System System.out a<b&&b<c?"Yes":"No" a<b&&b<c a<b a b b<c b c "Yes" "No" String [] args args public class Main{
	public static void main(String [] args) throws NumberFormatException, IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] st=br.readLine().split(" ");
		int a=Integer.parseInt(st[0]);
		int b=Integer.parseInt(st[1]);
		int c=Integer.parseInt(st[2]);
		System.out.println(a<b&&b<c?"Yes":"No");
	}} public class Main{
	public static void main(String [] args) throws NumberFormatException, IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] st=br.readLine().split(" ");
		int a=Integer.parseInt(st[0]);
		int b=Integer.parseInt(st[1]);
		int c=Integer.parseInt(st[2]);
		System.out.println(a<b&&b<c?"Yes":"No");
	}} Main
import java.io.*;
public class Main{
	public static void main(String [] args) throws NumberFormatException, IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String[] st=br.readLine().split(" ");
		int a=Integer.parseInt(st[0]);
		int b=Integer.parseInt(st[1]);
		int c=Integer.parseInt(st[2]);
		System.out.println(a<b&&b<c?"Yes":"No");
	}}