import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = new int[3];
        x[0] = sc.nextInt();
        x[1] = sc.nextInt();
        x[2] = sc.nextInt();

        if(x[0]<x[1] && x[1] < x[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = new int[3];
        x[0] = sc.nextInt();
        x[1] = sc.nextInt();
        x[2] = sc.nextInt();

        if(x[0]<x[1] && x[1] < x[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        sc.close();
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = new int[3];
        x[0] = sc.nextInt();
        x[1] = sc.nextInt();
        x[2] = sc.nextInt();

        if(x[0]<x[1] && x[1] < x[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        int[] x = new int[3];
        x[0] = sc.nextInt();
        x[1] = sc.nextInt();
        x[2] = sc.nextInt();

        if(x[0]<x[1] && x[1] < x[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] x = new int[3]; x new int[3] 3 x[0] = sc.nextInt() x[0] x 0 sc.nextInt() sc.nextInt sc x[1] = sc.nextInt() x[1] x 1 sc.nextInt() sc.nextInt sc x[2] = sc.nextInt() x[2] x 2 sc.nextInt() sc.nextInt sc if(x[0]<x[1] && x[1] < x[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        } x[0]<x[1] && x[1] < x[2] x[0]<x[1] x[0] x 0 x[1] x 1 x[1] < x[2] x[1] x 1 x[2] x 2 {
            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" sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = new int[3];
        x[0] = sc.nextInt();
        x[1] = sc.nextInt();
        x[2] = sc.nextInt();

        if(x[0]<x[1] && x[1] < x[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        sc.close();
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = new int[3];
        x[0] = sc.nextInt();
        x[1] = sc.nextInt();
        x[2] = sc.nextInt();

        if(x[0]<x[1] && x[1] < x[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        sc.close();
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int[] x = new int[3];
        x[0] = sc.nextInt();
        x[1] = sc.nextInt();
        x[2] = sc.nextInt();

        if(x[0]<x[1] && x[1] < x[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        sc.close();
    }
}
