import java.util.Scanner;

public class Main { 
	public static void main(String[] args){
        // 変数と配列
	String str;
        int inNumber1, inNumber2, inNumber3;
 
        // 各数字の入力
        Scanner scan = new Scanner(System.in);
        str = scan.next();
        inNumber1 = Integer.parseInt(str);
        str = scan.next();
        inNumber2 = Integer.parseInt(str);
        str = scan.next();
        inNumber3 = Integer.parseInt(str);

        // 条件判定
        if(inNumber1 < inNumber2 && inNumber2 < inNumber3)
                System.out.println("Yes");
        else
                System.out.println("No");
	}
} import java.util.Scanner; Scanner java.util public class Main { 
	public static void main(String[] args){
        // 変数と配列
	String str;
        int inNumber1, inNumber2, inNumber3;
 
        // 各数字の入力
        Scanner scan = new Scanner(System.in);
        str = scan.next();
        inNumber1 = Integer.parseInt(str);
        str = scan.next();
        inNumber2 = Integer.parseInt(str);
        str = scan.next();
        inNumber3 = Integer.parseInt(str);

        // 条件判定
        if(inNumber1 < inNumber2 && inNumber2 < inNumber3)
                System.out.println("Yes");
        else
                System.out.println("No");
	}
} Main public static void main(String[] args){
        // 変数と配列
	String str;
        int inNumber1, inNumber2, inNumber3;
 
        // 各数字の入力
        Scanner scan = new Scanner(System.in);
        str = scan.next();
        inNumber1 = Integer.parseInt(str);
        str = scan.next();
        inNumber2 = Integer.parseInt(str);
        str = scan.next();
        inNumber3 = Integer.parseInt(str);

        // 条件判定
        if(inNumber1 < inNumber2 && inNumber2 < inNumber3)
                System.out.println("Yes");
        else
                System.out.println("No");
	} main {
        // 変数と配列
	String str;
        int inNumber1, inNumber2, inNumber3;
 
        // 各数字の入力
        Scanner scan = new Scanner(System.in);
        str = scan.next();
        inNumber1 = Integer.parseInt(str);
        str = scan.next();
        inNumber2 = Integer.parseInt(str);
        str = scan.next();
        inNumber3 = Integer.parseInt(str);

        // 条件判定
        if(inNumber1 < inNumber2 && inNumber2 < inNumber3)
                System.out.println("Yes");
        else
                System.out.println("No");
	} String str; str int inNumber1 inNumber1 inNumber2 inNumber2 inNumber3; inNumber3 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) str = scan.next() str scan.next() scan.next scan inNumber1 = Integer.parseInt(str) inNumber1 Integer.parseInt(str) Integer.parseInt Integer str str = scan.next() str scan.next() scan.next scan inNumber2 = Integer.parseInt(str) inNumber2 Integer.parseInt(str) Integer.parseInt Integer str str = scan.next() str scan.next() scan.next scan inNumber3 = Integer.parseInt(str) inNumber3 Integer.parseInt(str) Integer.parseInt Integer str if(inNumber1 < inNumber2 && inNumber2 < inNumber3)
                System.out.println("Yes");
        else
                System.out.println("No"); inNumber1 < inNumber2 && inNumber2 < inNumber3 inNumber1 < inNumber2 inNumber1 inNumber2 inNumber2 < inNumber3 inNumber2 inNumber3 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 public class Main { 
	public static void main(String[] args){
        // 変数と配列
	String str;
        int inNumber1, inNumber2, inNumber3;
 
        // 各数字の入力
        Scanner scan = new Scanner(System.in);
        str = scan.next();
        inNumber1 = Integer.parseInt(str);
        str = scan.next();
        inNumber2 = Integer.parseInt(str);
        str = scan.next();
        inNumber3 = Integer.parseInt(str);

        // 条件判定
        if(inNumber1 < inNumber2 && inNumber2 < inNumber3)
                System.out.println("Yes");
        else
                System.out.println("No");
	}
} public class Main { 
	public static void main(String[] args){
        // 変数と配列
	String str;
        int inNumber1, inNumber2, inNumber3;
 
        // 各数字の入力
        Scanner scan = new Scanner(System.in);
        str = scan.next();
        inNumber1 = Integer.parseInt(str);
        str = scan.next();
        inNumber2 = Integer.parseInt(str);
        str = scan.next();
        inNumber3 = Integer.parseInt(str);

        // 条件判定
        if(inNumber1 < inNumber2 && inNumber2 < inNumber3)
                System.out.println("Yes");
        else
                System.out.println("No");
	}
} Main
import java.util.Scanner;

public class Main { 
	public static void main(String[] args){
        // 変数と配列
	String str;
        int inNumber1, inNumber2, inNumber3;
 
        // 各数字の入力
        Scanner scan = new Scanner(System.in);
        str = scan.next();
        inNumber1 = Integer.parseInt(str);
        str = scan.next();
        inNumber2 = Integer.parseInt(str);
        str = scan.next();
        inNumber3 = Integer.parseInt(str);

        // 条件判定
        if(inNumber1 < inNumber2 && inNumber2 < inNumber3)
                System.out.println("Yes");
        else
                System.out.println("No");
	}
}