import java.util.Scanner;

class Main{

public static void larger(int a, int b, int c){
if ((a < b) && (b < c)){
System.out.println("Yes");
}else {
System.out.println("No");
}
}
	
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
int q = scanner.nextInt();
int w = scanner.nextInt();
larger(p, q, w);

}
}
 import java.util.Scanner; Scanner java.util class Main{

public static void larger(int a, int b, int c){
if ((a < b) && (b < c)){
System.out.println("Yes");
}else {
System.out.println("No");
}
}
	
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
int q = scanner.nextInt();
int w = scanner.nextInt();
larger(p, q, w);

}
} Main public static void larger(int a, int b, int c){
if ((a < b) && (b < c)){
System.out.println("Yes");
}else {
System.out.println("No");
}
} larger {
if ((a < b) && (b < c)){
System.out.println("Yes");
}else {
System.out.println("No");
}
} 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" int a a int b b int c c public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
int q = scanner.nextInt();
int w = scanner.nextInt();
larger(p, q, w);

} main {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
int q = scanner.nextInt();
int w = scanner.nextInt();
larger(p, q, w);

} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int p = scanner.nextInt(); p scanner.nextInt() scanner.nextInt scanner int q = scanner.nextInt(); q scanner.nextInt() scanner.nextInt scanner int w = scanner.nextInt(); w scanner.nextInt() scanner.nextInt scanner larger(p, q, w) larger p q w String[] args args
import java.util.Scanner;

class Main{

public static void larger(int a, int b, int c){
if ((a < b) && (b < c)){
System.out.println("Yes");
}else {
System.out.println("No");
}
}
	
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int p = scanner.nextInt();
int q = scanner.nextInt();
int w = scanner.nextInt();
larger(p, q, w);

}
}

