import java.io.*;
import java.util.*;

class Main{
  public static void main(String[] args) throws IOException{
    Scanner scan=new Scanner(System.in);
    int[] n=new int[3];
    for(int i=0;i<n.length;i++){
      n[i]=Integer.parseInt(scan.next());
    }

    if(n[0]<n[1] && n[1]<n[2]){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
  public static void main(String[] args) throws IOException{
    Scanner scan=new Scanner(System.in);
    int[] n=new int[3];
    for(int i=0;i<n.length;i++){
      n[i]=Integer.parseInt(scan.next());
    }

    if(n[0]<n[1] && n[1]<n[2]){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
} Main public static void main(String[] args) throws IOException{
    Scanner scan=new Scanner(System.in);
    int[] n=new int[3];
    for(int i=0;i<n.length;i++){
      n[i]=Integer.parseInt(scan.next());
    }

    if(n[0]<n[1] && n[1]<n[2]){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  } main {
    Scanner scan=new Scanner(System.in);
    int[] n=new int[3];
    for(int i=0;i<n.length;i++){
      n[i]=Integer.parseInt(scan.next());
    }

    if(n[0]<n[1] && n[1]<n[2]){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  } Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int[] n=new int[3]; n new int[3] 3 for(int i=0;i<n.length;i++){
      n[i]=Integer.parseInt(scan.next());
    } int i=0; int i=0; i 0 i<n.length i n.length n n.length i++ i++ i {
      n[i]=Integer.parseInt(scan.next());
    } {
      n[i]=Integer.parseInt(scan.next());
    } n[i]=Integer.parseInt(scan.next()) n[i] n i Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan if(n[0]<n[1] && n[1]<n[2]){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    } n[0]<n[1] && n[1]<n[2] n[0]<n[1] n[0] n 0 n[1] n 1 n[1]<n[2] n[1] n 1 n[2] n 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.*;
import java.util.*;

class Main{
  public static void main(String[] args) throws IOException{
    Scanner scan=new Scanner(System.in);
    int[] n=new int[3];
    for(int i=0;i<n.length;i++){
      n[i]=Integer.parseInt(scan.next());
    }

    if(n[0]<n[1] && n[1]<n[2]){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
}
