
import java.io.*;

class Main {
    public static void main(String[] args) throws IOException{
	BufferedReader br =
	    new BufferedReader(new InputStreamReader(System.in));

	String str = br.readLine();
	String[] str2 = str.split(" ",0);
	int num1 = Integer.parseInt(str2[0]);
	int num2 = Integer.parseInt(str2[1]);
	int num3 = Integer.parseInt(str2[2]);
	if((num1<num2)&&(num2<num3)){
	    System.out.println("Yes");
	}
	else{
	    System.out.println("No");

	}

    }
} import java.io.*; io.* java class Main {
    public static void main(String[] args) throws IOException{
	BufferedReader br =
	    new BufferedReader(new InputStreamReader(System.in));

	String str = br.readLine();
	String[] str2 = str.split(" ",0);
	int num1 = Integer.parseInt(str2[0]);
	int num2 = Integer.parseInt(str2[1]);
	int num3 = Integer.parseInt(str2[2]);
	if((num1<num2)&&(num2<num3)){
	    System.out.println("Yes");
	}
	else{
	    System.out.println("No");

	}

    }
} Main public static void main(String[] args) throws IOException{
	BufferedReader br =
	    new BufferedReader(new InputStreamReader(System.in));

	String str = br.readLine();
	String[] str2 = str.split(" ",0);
	int num1 = Integer.parseInt(str2[0]);
	int num2 = Integer.parseInt(str2[1]);
	int num3 = Integer.parseInt(str2[2]);
	if((num1<num2)&&(num2<num3)){
	    System.out.println("Yes");
	}
	else{
	    System.out.println("No");

	}

    } main {
	BufferedReader br =
	    new BufferedReader(new InputStreamReader(System.in));

	String str = br.readLine();
	String[] str2 = str.split(" ",0);
	int num1 = Integer.parseInt(str2[0]);
	int num2 = Integer.parseInt(str2[1]);
	int num3 = Integer.parseInt(str2[2]);
	if((num1<num2)&&(num2<num3)){
	    System.out.println("Yes");
	}
	else{
	    System.out.println("No");

	}

    } BufferedReader br =
	    new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String[] str2 = str.split(" ",0); str2 str.split(" ",0) str.split str " " 0 int num1 = Integer.parseInt(str2[0]); num1 Integer.parseInt(str2[0]) Integer.parseInt Integer str2[0] str2 0 int num2 = Integer.parseInt(str2[1]); num2 Integer.parseInt(str2[1]) Integer.parseInt Integer str2[1] str2 1 int num3 = Integer.parseInt(str2[2]); num3 Integer.parseInt(str2[2]) Integer.parseInt Integer str2[2] str2 2 if((num1<num2)&&(num2<num3)){
	    System.out.println("Yes");
	}
	else{
	    System.out.println("No");

	} (num1<num2)&&(num2<num3) (num1<num2) num1 num2 (num2<num3) num2 num3 {
	    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

import java.io.*;

class Main {
    public static void main(String[] args) throws IOException{
	BufferedReader br =
	    new BufferedReader(new InputStreamReader(System.in));

	String str = br.readLine();
	String[] str2 = str.split(" ",0);
	int num1 = Integer.parseInt(str2[0]);
	int num2 = Integer.parseInt(str2[1]);
	int num3 = Integer.parseInt(str2[2]);
	if((num1<num2)&&(num2<num3)){
	    System.out.println("Yes");
	}
	else{
	    System.out.println("No");

	}

    }
}