import java.util.*;
public class Main{

	public static void main(String[] args) {
		int i1, i2, i3;
		Scanner sc = new Scanner(System.in);
		i1 = sc.nextInt();
		i2 = sc.nextInt();
		i3 = sc.nextInt();
		if(i1 < i2 && i2 < i3)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} import java.util.*; util.* java public class Main{

	public static void main(String[] args) {
		int i1, i2, i3;
		Scanner sc = new Scanner(System.in);
		i1 = sc.nextInt();
		i2 = sc.nextInt();
		i3 = sc.nextInt();
		if(i1 < i2 && i2 < i3)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} Main public static void main(String[] args) {
		int i1, i2, i3;
		Scanner sc = new Scanner(System.in);
		i1 = sc.nextInt();
		i2 = sc.nextInt();
		i3 = sc.nextInt();
		if(i1 < i2 && i2 < i3)
			System.out.println("Yes");
		else
			System.out.println("No");
	} main {
		int i1, i2, i3;
		Scanner sc = new Scanner(System.in);
		i1 = sc.nextInt();
		i2 = sc.nextInt();
		i3 = sc.nextInt();
		if(i1 < i2 && i2 < i3)
			System.out.println("Yes");
		else
			System.out.println("No");
	} int i1 i1 i2 i2 i3; i3 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) i1 = sc.nextInt() i1 sc.nextInt() sc.nextInt sc i2 = sc.nextInt() i2 sc.nextInt() sc.nextInt sc i3 = sc.nextInt() i3 sc.nextInt() sc.nextInt sc if(i1 < i2 && i2 < i3)
			System.out.println("Yes");
		else
			System.out.println("No"); i1 < i2 && i2 < i3 i1 < i2 i1 i2 i2 < i3 i2 i3 System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main{

	public static void main(String[] args) {
		int i1, i2, i3;
		Scanner sc = new Scanner(System.in);
		i1 = sc.nextInt();
		i2 = sc.nextInt();
		i3 = sc.nextInt();
		if(i1 < i2 && i2 < i3)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} public class Main{

	public static void main(String[] args) {
		int i1, i2, i3;
		Scanner sc = new Scanner(System.in);
		i1 = sc.nextInt();
		i2 = sc.nextInt();
		i3 = sc.nextInt();
		if(i1 < i2 && i2 < i3)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
} Main
import java.util.*;
public class Main{

	public static void main(String[] args) {
		int i1, i2, i3;
		Scanner sc = new Scanner(System.in);
		i1 = sc.nextInt();
		i2 = sc.nextInt();
		i3 = sc.nextInt();
		if(i1 < i2 && i2 < i3)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
}