import java.io.*;
    
class Main
{
     static InputStreamReader isr;
     static BufferedReader br;
     static String output;
     static String[] data = new String[3];
    
     static void initialize ()
     {
          isr = new InputStreamReader(System.in);
          br = new BufferedReader(isr);
          output = null;
          for (String d : data)
          {
               d = null;
          }
     }

     static void output (String[] data)
     {
           int i = 0;
           output = "No";
           if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) output = "Yes";
           System.out.println(output);
     }
    
     public static void main (String[] args)
     {
           initialize();
           try {
                data = (br.readLine()).split(" ");
                output(data);
           } catch (IOException e) {
           } finally {
                try {
                      br.close();
                } catch (IOException e) {
                }
           }
     }
} import java.io.*; io.* java class Main
{
     static InputStreamReader isr;
     static BufferedReader br;
     static String output;
     static String[] data = new String[3];
    
     static void initialize ()
     {
          isr = new InputStreamReader(System.in);
          br = new BufferedReader(isr);
          output = null;
          for (String d : data)
          {
               d = null;
          }
     }

     static void output (String[] data)
     {
           int i = 0;
           output = "No";
           if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) output = "Yes";
           System.out.println(output);
     }
    
     public static void main (String[] args)
     {
           initialize();
           try {
                data = (br.readLine()).split(" ");
                output(data);
           } catch (IOException e) {
           } finally {
                try {
                      br.close();
                } catch (IOException e) {
                }
           }
     }
} Main static InputStreamReader isr; isr static BufferedReader br; br static String output; output static String[] data = new String[3]; data new String[3] 3 static void initialize ()
     {
          isr = new InputStreamReader(System.in);
          br = new BufferedReader(isr);
          output = null;
          for (String d : data)
          {
               d = null;
          }
     } initialize {
          isr = new InputStreamReader(System.in);
          br = new BufferedReader(isr);
          output = null;
          for (String d : data)
          {
               d = null;
          }
     } isr = new InputStreamReader(System.in) isr new InputStreamReader(System.in) br = new BufferedReader(isr) br new BufferedReader(isr) output = null output null for (String d : data)
          {
               d = null;
          } String d data {
               d = null;
          } {
               d = null;
          } d = null d null static void output (String[] data)
     {
           int i = 0;
           output = "No";
           if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) output = "Yes";
           System.out.println(output);
     } output {
           int i = 0;
           output = "No";
           if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) output = "Yes";
           System.out.println(output);
     } int i = 0; i 0 output = "No" output "No" if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) output = "Yes"; Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0 Integer.parseInt(data[i])-Integer.parseInt(data[++i]) Integer.parseInt(data[i]) Integer.parseInt Integer data[i] data i Integer.parseInt(data[++i]) Integer.parseInt Integer data[++i] data ++i i 0 if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) output = "Yes"; Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0 Integer.parseInt(data[i])-Integer.parseInt(data[++i]) Integer.parseInt(data[i]) Integer.parseInt Integer data[i] data i Integer.parseInt(data[++i]) Integer.parseInt Integer data[++i] data ++i i 0 output = "Yes" output "Yes" System.out.println(output) System.out.println System.out System System.out output String[] data data public static void main (String[] args)
     {
           initialize();
           try {
                data = (br.readLine()).split(" ");
                output(data);
           } catch (IOException e) {
           } finally {
                try {
                      br.close();
                } catch (IOException e) {
                }
           }
     } main {
           initialize();
           try {
                data = (br.readLine()).split(" ");
                output(data);
           } catch (IOException e) {
           } finally {
                try {
                      br.close();
                } catch (IOException e) {
                }
           }
     } initialize() initialize try {
                data = (br.readLine()).split(" ");
                output(data);
           } catch (IOException e) {
           } finally {
                try {
                      br.close();
                } catch (IOException e) {
                }
           } catch (IOException e) {
           } IOException e {
           } {
                try {
                      br.close();
                } catch (IOException e) {
                }
           } try {
                      br.close();
                } catch (IOException e) {
                } catch (IOException e) {
                } IOException e {
                } {
                      br.close();
                } br.close() br.close br {
                data = (br.readLine()).split(" ");
                output(data);
           } data = (br.readLine()).split(" ") data (br.readLine()).split(" ") (br.readLine()).split (br.readLine()) br.readLine br " " output(data) output data String[] args args
import java.io.*;
    
class Main
{
     static InputStreamReader isr;
     static BufferedReader br;
     static String output;
     static String[] data = new String[3];
    
     static void initialize ()
     {
          isr = new InputStreamReader(System.in);
          br = new BufferedReader(isr);
          output = null;
          for (String d : data)
          {
               d = null;
          }
     }

     static void output (String[] data)
     {
           int i = 0;
           output = "No";
           if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) if (Integer.parseInt(data[i])-Integer.parseInt(data[++i]) < 0) output = "Yes";
           System.out.println(output);
     }
    
     public static void main (String[] args)
     {
           initialize();
           try {
                data = (br.readLine()).split(" ");
                output(data);
           } catch (IOException e) {
           } finally {
                try {
                      br.close();
                } catch (IOException e) {
                }
           }
     }
}