import java.io.*;
 
public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        if(noOne < noTwo && noTwo < noThree) {
            System.out.println("Yes");
        }else {
            System.out.println("No");
        }
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        if(noOne < noTwo && noTwo < noThree) {
            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 input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        if(noOne < noTwo && noTwo < noThree) {
            System.out.println("Yes");
        }else {
            System.out.println("No");
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        if(noOne < noTwo && noTwo < noThree) {
            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 input = br.readLine(); input br.readLine() br.readLine br String[] cut = input.split(" "); cut input.split(" ") input.split input " " int noOne = Integer.parseInt(cut[0]); noOne Integer.parseInt(cut[0]) Integer.parseInt Integer cut[0] cut 0 int noTwo = Integer.parseInt(cut[1]); noTwo Integer.parseInt(cut[1]) Integer.parseInt Integer cut[1] cut 1 int noThree = Integer.parseInt(cut[2]); noThree Integer.parseInt(cut[2]) Integer.parseInt Integer cut[2] cut 2 if(noOne < noTwo && noTwo < noThree) {
            System.out.println("Yes");
        }else {
            System.out.println("No");
        } noOne < noTwo && noTwo < noThree noOne < noTwo noOne noTwo noTwo < noThree noTwo noThree {
            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)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        if(noOne < noTwo && noTwo < noThree) {
            System.out.println("Yes");
        }else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        if(noOne < noTwo && noTwo < noThree) {
            System.out.println("Yes");
        }else {
            System.out.println("No");
        }
    }
} Main
import java.io.*;
 
public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        if(noOne < noTwo && noTwo < noThree) {
            System.out.println("Yes");
        }else {
            System.out.println("No");
        }
    }
}