import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;

class Main {
  private static BufferedReader buf;
  public static void main(String[] args) throws IOException {
    int[] abc = new int[3];
    String str;
    String[] inp;
    buf = new BufferedReader(new InputStreamReader(System.in));
    str = buf.readLine();
    inp = str.split(" ", -1);
    for (int i = 0; i < inp.length; i++) abc[i] = Integer.parseInt(inp[i]);
    if (abc[0] < abc[1] && abc[1] < abc[2]) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.BufferedReader; BufferedReader java.io class Main {
  private static BufferedReader buf;
  public static void main(String[] args) throws IOException {
    int[] abc = new int[3];
    String str;
    String[] inp;
    buf = new BufferedReader(new InputStreamReader(System.in));
    str = buf.readLine();
    inp = str.split(" ", -1);
    for (int i = 0; i < inp.length; i++) abc[i] = Integer.parseInt(inp[i]);
    if (abc[0] < abc[1] && abc[1] < abc[2]) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} Main private static BufferedReader buf; buf public static void main(String[] args) throws IOException {
    int[] abc = new int[3];
    String str;
    String[] inp;
    buf = new BufferedReader(new InputStreamReader(System.in));
    str = buf.readLine();
    inp = str.split(" ", -1);
    for (int i = 0; i < inp.length; i++) abc[i] = Integer.parseInt(inp[i]);
    if (abc[0] < abc[1] && abc[1] < abc[2]) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  } main {
    int[] abc = new int[3];
    String str;
    String[] inp;
    buf = new BufferedReader(new InputStreamReader(System.in));
    str = buf.readLine();
    inp = str.split(" ", -1);
    for (int i = 0; i < inp.length; i++) abc[i] = Integer.parseInt(inp[i]);
    if (abc[0] < abc[1] && abc[1] < abc[2]) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  } int[] abc = new int[3]; abc new int[3] 3 String str; str String[] inp; inp buf = new BufferedReader(new InputStreamReader(System.in)) buf new BufferedReader(new InputStreamReader(System.in)) str = buf.readLine() str buf.readLine() buf.readLine buf inp = str.split(" ", -1) inp str.split(" ", -1) str.split str " " -1 1 for (int i = 0; i < inp.length; i++) abc[i] = Integer.parseInt(inp[i]); int i = 0; int i = 0; i 0 i < inp.length i inp.length inp inp.length i++ i++ i abc[i] = Integer.parseInt(inp[i]); abc[i] = Integer.parseInt(inp[i]) abc[i] abc i Integer.parseInt(inp[i]) Integer.parseInt Integer inp[i] inp i if (abc[0] < abc[1] && abc[1] < abc[2]) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    } abc[0] < abc[1] && abc[1] < abc[2] abc[0] < abc[1] abc[0] abc 0 abc[1] abc 1 abc[1] < abc[2] abc[1] abc 1 abc[2] abc 2 {
      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
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;

class Main {
  private static BufferedReader buf;
  public static void main(String[] args) throws IOException {
    int[] abc = new int[3];
    String str;
    String[] inp;
    buf = new BufferedReader(new InputStreamReader(System.in));
    str = buf.readLine();
    inp = str.split(" ", -1);
    for (int i = 0; i < inp.length; i++) abc[i] = Integer.parseInt(inp[i]);
    if (abc[0] < abc[1] && abc[1] < abc[2]) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}