import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
      int a = Integer.valueOf(input.next());
      int b = Integer.valueOf(input.next());
      int c = Integer.valueOf(input.next());

      if (a < b && b < c) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } 
  }

  private static int secondToHour(int second) {
    return second / 3600;
  }

  private static int secondToMinute(int second) {
    return (second % 3600) / 60;
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
      int a = Integer.valueOf(input.next());
      int b = Integer.valueOf(input.next());
      int c = Integer.valueOf(input.next());

      if (a < b && b < c) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } 
  }

  private static int secondToHour(int second) {
    return second / 3600;
  }

  private static int secondToMinute(int second) {
    return (second % 3600) / 60;
  }
} Main public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
      int a = Integer.valueOf(input.next());
      int b = Integer.valueOf(input.next());
      int c = Integer.valueOf(input.next());

      if (a < b && b < c) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } 
  } main {
      Scanner input = new Scanner(System.in);
      int a = Integer.valueOf(input.next());
      int b = Integer.valueOf(input.next());
      int c = Integer.valueOf(input.next());

      if (a < b && b < c) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } 
  } Scanner input = new Scanner(System.in); input new Scanner(System.in) int a = Integer.valueOf(input.next()); a Integer.valueOf(input.next()) Integer.valueOf Integer input.next() input.next input int b = Integer.valueOf(input.next()); b Integer.valueOf(input.next()) Integer.valueOf Integer input.next() input.next input int c = Integer.valueOf(input.next()); c Integer.valueOf(input.next()) Integer.valueOf Integer input.next() input.next input if (a < b && b < c) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } a < b && b < c a < b a b b < c b c {
        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 private static int secondToHour(int second) {
    return second / 3600;
  } secondToHour {
    return second / 3600;
  } return second / 3600; second / 3600 second 3600 int second second private static int secondToMinute(int second) {
    return (second % 3600) / 60;
  } secondToMinute {
    return (second % 3600) / 60;
  } return (second % 3600) / 60; (second % 3600) / 60 (second % 3600) second 3600 60 int second second public class Main {
  public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
      int a = Integer.valueOf(input.next());
      int b = Integer.valueOf(input.next());
      int c = Integer.valueOf(input.next());

      if (a < b && b < c) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } 
  }

  private static int secondToHour(int second) {
    return second / 3600;
  }

  private static int secondToMinute(int second) {
    return (second % 3600) / 60;
  }
} public class Main {
  public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
      int a = Integer.valueOf(input.next());
      int b = Integer.valueOf(input.next());
      int c = Integer.valueOf(input.next());

      if (a < b && b < c) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } 
  }

  private static int secondToHour(int second) {
    return second / 3600;
  }

  private static int secondToMinute(int second) {
    return (second % 3600) / 60;
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
      int a = Integer.valueOf(input.next());
      int b = Integer.valueOf(input.next());
      int c = Integer.valueOf(input.next());

      if (a < b && b < c) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      } 
  }

  private static int secondToHour(int second) {
    return second / 3600;
  }

  private static int secondToMinute(int second) {
    return (second % 3600) / 60;
  }
}
