import java.util.Scanner;

public class Main{
   public static void main(String[] a){
      Scanner scn = new Scanner(System.in);
      int d = scn.nextInt();
      int b = scn.nextInt();
      int c = scn.nextInt();
      if(c>b&&b>d){
         System.out.println("Yes");
      }else{
         System.out.println("No");
      }
   }
} import java.util.Scanner; Scanner java.util public class Main{
   public static void main(String[] a){
      Scanner scn = new Scanner(System.in);
      int d = scn.nextInt();
      int b = scn.nextInt();
      int c = scn.nextInt();
      if(c>b&&b>d){
         System.out.println("Yes");
      }else{
         System.out.println("No");
      }
   }
} Main public static void main(String[] a){
      Scanner scn = new Scanner(System.in);
      int d = scn.nextInt();
      int b = scn.nextInt();
      int c = scn.nextInt();
      if(c>b&&b>d){
         System.out.println("Yes");
      }else{
         System.out.println("No");
      }
   } main {
      Scanner scn = new Scanner(System.in);
      int d = scn.nextInt();
      int b = scn.nextInt();
      int c = scn.nextInt();
      if(c>b&&b>d){
         System.out.println("Yes");
      }else{
         System.out.println("No");
      }
   } Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int d = scn.nextInt(); d scn.nextInt() scn.nextInt scn int b = scn.nextInt(); b scn.nextInt() scn.nextInt scn int c = scn.nextInt(); c scn.nextInt() scn.nextInt scn if(c>b&&b>d){
         System.out.println("Yes");
      }else{
         System.out.println("No");
      } c>b&&b>d c>b c b b>d b d {
         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[] a a public class Main{
   public static void main(String[] a){
      Scanner scn = new Scanner(System.in);
      int d = scn.nextInt();
      int b = scn.nextInt();
      int c = scn.nextInt();
      if(c>b&&b>d){
         System.out.println("Yes");
      }else{
         System.out.println("No");
      }
   }
} public class Main{
   public static void main(String[] a){
      Scanner scn = new Scanner(System.in);
      int d = scn.nextInt();
      int b = scn.nextInt();
      int c = scn.nextInt();
      if(c>b&&b>d){
         System.out.println("Yes");
      }else{
         System.out.println("No");
      }
   }
} Main
import java.util.Scanner;

public class Main{
   public static void main(String[] a){
      Scanner scn = new Scanner(System.in);
      int d = scn.nextInt();
      int b = scn.nextInt();
      int c = scn.nextInt();
      if(c>b&&b>d){
         System.out.println("Yes");
      }else{
         System.out.println("No");
      }
   }
}