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

public class Main {

 private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1);

 private String inputData = null;

 private String[] data;

 private int left;

 private int center;

 private int right;

 public static void main(String args[]) {
  new Main().start();
 }

 public void start() {
  try {
   this.inputData = reader.readLine();
  } catch (IOException e) {
   e.printStackTrace();
  }

  this.data = this.inputData.split(" ");

  this.left = Integer.parseInt(this.data[0]);
  this.center = Integer.parseInt(this.data[1]);
  this.right = Integer.parseInt(this.data[2]);

  if (this.left < this.center &&
  this.center < this.right &&
  this.left < this.right) {
   System.out.println("Yes");
  } else {
   System.out.println("No");
  }

 }

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

 private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1);

 private String inputData = null;

 private String[] data;

 private int left;

 private int center;

 private int right;

 public static void main(String args[]) {
  new Main().start();
 }

 public void start() {
  try {
   this.inputData = reader.readLine();
  } catch (IOException e) {
   e.printStackTrace();
  }

  this.data = this.inputData.split(" ");

  this.left = Integer.parseInt(this.data[0]);
  this.center = Integer.parseInt(this.data[1]);
  this.right = Integer.parseInt(this.data[2]);

  if (this.left < this.center &&
  this.center < this.right &&
  this.left < this.right) {
   System.out.println("Yes");
  } else {
   System.out.println("No");
  }

 }

} Main private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1); reader new BufferedReader(new InputStreamReader(System.in), 1) private String inputData = null; inputData null private String[] data; data private int left; left private int center; center private int right; right public static void main(String args[]) {
  new Main().start();
 } main {
  new Main().start();
 } new Main().start() new Main().start new Main() String args[] args public void start() {
  try {
   this.inputData = reader.readLine();
  } catch (IOException e) {
   e.printStackTrace();
  }

  this.data = this.inputData.split(" ");

  this.left = Integer.parseInt(this.data[0]);
  this.center = Integer.parseInt(this.data[1]);
  this.right = Integer.parseInt(this.data[2]);

  if (this.left < this.center &&
  this.center < this.right &&
  this.left < this.right) {
   System.out.println("Yes");
  } else {
   System.out.println("No");
  }

 } start {
  try {
   this.inputData = reader.readLine();
  } catch (IOException e) {
   e.printStackTrace();
  }

  this.data = this.inputData.split(" ");

  this.left = Integer.parseInt(this.data[0]);
  this.center = Integer.parseInt(this.data[1]);
  this.right = Integer.parseInt(this.data[2]);

  if (this.left < this.center &&
  this.center < this.right &&
  this.left < this.right) {
   System.out.println("Yes");
  } else {
   System.out.println("No");
  }

 } try {
   this.inputData = reader.readLine();
  } catch (IOException e) {
   e.printStackTrace();
  } catch (IOException e) {
   e.printStackTrace();
  } IOException e {
   e.printStackTrace();
  } e.printStackTrace() e.printStackTrace e {
   this.inputData = reader.readLine();
  } this.inputData = reader.readLine() this.inputData this this.inputData reader.readLine() reader.readLine reader this.data = this.inputData.split(" ") this.data this this.data this.inputData.split(" ") this.inputData.split this.inputData this this.inputData " " this.left = Integer.parseInt(this.data[0]) this.left this this.left Integer.parseInt(this.data[0]) Integer.parseInt Integer this.data[0] this.data this this.data 0 this.center = Integer.parseInt(this.data[1]) this.center this this.center Integer.parseInt(this.data[1]) Integer.parseInt Integer this.data[1] this.data this this.data 1 this.right = Integer.parseInt(this.data[2]) this.right this this.right Integer.parseInt(this.data[2]) Integer.parseInt Integer this.data[2] this.data this this.data 2 if (this.left < this.center &&
  this.center < this.right &&
  this.left < this.right) {
   System.out.println("Yes");
  } else {
   System.out.println("No");
  } this.left < this.center &&
  this.center < this.right &&
  this.left < this.right this.left < this.center &&
  this.center < this.right &&
  this.left < this.right this.left < this.center this.left this this.left this.center this this.center this.center < this.right this.center this this.center this.right this this.right this.left < this.right this.left this this.left this.right this this.right {
   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" public class Main {

 private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1);

 private String inputData = null;

 private String[] data;

 private int left;

 private int center;

 private int right;

 public static void main(String args[]) {
  new Main().start();
 }

 public void start() {
  try {
   this.inputData = reader.readLine();
  } catch (IOException e) {
   e.printStackTrace();
  }

  this.data = this.inputData.split(" ");

  this.left = Integer.parseInt(this.data[0]);
  this.center = Integer.parseInt(this.data[1]);
  this.right = Integer.parseInt(this.data[2]);

  if (this.left < this.center &&
  this.center < this.right &&
  this.left < this.right) {
   System.out.println("Yes");
  } else {
   System.out.println("No");
  }

 }

} public class Main {

 private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1);

 private String inputData = null;

 private String[] data;

 private int left;

 private int center;

 private int right;

 public static void main(String args[]) {
  new Main().start();
 }

 public void start() {
  try {
   this.inputData = reader.readLine();
  } catch (IOException e) {
   e.printStackTrace();
  }

  this.data = this.inputData.split(" ");

  this.left = Integer.parseInt(this.data[0]);
  this.center = Integer.parseInt(this.data[1]);
  this.right = Integer.parseInt(this.data[2]);

  if (this.left < this.center &&
  this.center < this.right &&
  this.left < this.right) {
   System.out.println("Yes");
  } else {
   System.out.println("No");
  }

 }

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

public class Main {

 private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1);

 private String inputData = null;

 private String[] data;

 private int left;

 private int center;

 private int right;

 public static void main(String args[]) {
  new Main().start();
 }

 public void start() {
  try {
   this.inputData = reader.readLine();
  } catch (IOException e) {
   e.printStackTrace();
  }

  this.data = this.inputData.split(" ");

  this.left = Integer.parseInt(this.data[0]);
  this.center = Integer.parseInt(this.data[1]);
  this.right = Integer.parseInt(this.data[2]);

  if (this.left < this.center &&
  this.center < this.right &&
  this.left < this.right) {
   System.out.println("Yes");
  } else {
   System.out.println("No");
  }

 }

}