import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        String str3 = in.next();
        int a, b, c;
        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);
        c = Integer.parseInt(str3);
        if(a < b && b < c) {
        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) {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        String str3 = in.next();
        int a, b, c;
        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);
        c = Integer.parseInt(str3);
        if(a < b && b < c) {
        System.out.println("Yes");
        }else{
        System.out.println("No");
        }
    }
    
} Main public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        String str3 = in.next();
        int a, b, c;
        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);
        c = Integer.parseInt(str3);
        if(a < b && b < c) {
        System.out.println("Yes");
        }else{
        System.out.println("No");
        }
    } main {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        String str3 = in.next();
        int a, b, c;
        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);
        c = Integer.parseInt(str3);
        if(a < b && b < c) {
        System.out.println("Yes");
        }else{
        System.out.println("No");
        }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) String str1 = in.next(); str1 in.next() in.next in String str2 = in.next(); str2 in.next() in.next in String str3 = in.next(); str3 in.next() in.next in int a a b b c; c a = Integer.parseInt(str1) a Integer.parseInt(str1) Integer.parseInt Integer str1 b = Integer.parseInt(str2) b Integer.parseInt(str2) Integer.parseInt Integer str2 c = Integer.parseInt(str3) c Integer.parseInt(str3) Integer.parseInt Integer str3 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("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 public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        String str3 = in.next();
        int a, b, c;
        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);
        c = Integer.parseInt(str3);
        if(a < b && b < c) {
        System.out.println("Yes");
        }else{
        System.out.println("No");
        }
    }
    
} public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        String str3 = in.next();
        int a, b, c;
        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);
        c = Integer.parseInt(str3);
        if(a < b && b < c) {
        System.out.println("Yes");
        }else{
        System.out.println("No");
        }
    }
    
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        String str3 = in.next();
        int a, b, c;
        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);
        c = Integer.parseInt(str3);
        if(a < b && b < c) {
        System.out.println("Yes");
        }else{
        System.out.println("No");
        }
    }
    
}