import java.util.Scanner;

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

class Main {
	public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int a  = Integer.parseInt(scan.next());
    int b  = Integer.parseInt(scan.next());
    int c  = Integer.parseInt(scan.next());
    if (a < b && b < c) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
	}
}

