import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while( sc.hasNext() ){
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while( sc.hasNext() ){
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while( sc.hasNext() ){
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        while( sc.hasNext() ){
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while( sc.hasNext() ){
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        } sc.hasNext() sc.hasNext sc {
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        } String[] line = sc.nextLine().split(" "); line sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int inputnum = Integer.parseInt(line[0]); inputnum Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int inputnum2 = Integer.parseInt(line[1]); inputnum2 Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 int inputnum3 = Integer.parseInt(line[2]); inputnum3 Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            } inputnum < inputnum2 inputnum inputnum2 {
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            } if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                } inputnum2 < inputnum3 inputnum2 inputnum3 {
                    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" {
                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 sc = new Scanner(System.in);
        while( sc.hasNext() ){
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while( sc.hasNext() ){
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while( sc.hasNext() ){
            String[] line = sc.nextLine().split(" ");
            int inputnum = Integer.parseInt(line[0]);
            int inputnum2 = Integer.parseInt(line[1]);
            int inputnum3 = Integer.parseInt(line[2]);
            if(inputnum < inputnum2 ){
                if(inputnum2 < inputnum3){
                    System.out.println("Yes");    
                }
                else {
                    System.out.println("No");    
                }
            }
            else {
                System.out.println("No");    
            }
        }
    }
}