import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner stdIn = new Scanner (System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		if(a < b)
			if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No");

		else
			System.out.println("No");

	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner stdIn = new Scanner (System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		if(a < b)
			if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No");

		else
			System.out.println("No");

	}

} Main public static void main(String[] args) {

		Scanner stdIn = new Scanner (System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		if(a < b)
			if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No");

		else
			System.out.println("No");

	} main {

		Scanner stdIn = new Scanner (System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		if(a < b)
			if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No");

		else
			System.out.println("No");

	} Scanner stdIn = new Scanner (System.in); stdIn new Scanner (System.in) int a = stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn int b = stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn int c = stdIn.nextInt(); c stdIn.nextInt() stdIn.nextInt stdIn if(a < b)
			if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No");

		else
			System.out.println("No"); a < b a b if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No"); b < c b c 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" 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) {

		Scanner stdIn = new Scanner (System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		if(a < b)
			if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No");

		else
			System.out.println("No");

	}

} public class Main {
	public static void main(String[] args) {

		Scanner stdIn = new Scanner (System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		if(a < b)
			if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No");

		else
			System.out.println("No");

	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner stdIn = new Scanner (System.in);

		int a = stdIn.nextInt();
		int b = stdIn.nextInt();
		int c = stdIn.nextInt();

		if(a < b)
			if(b < c)
				System.out.println("Yes");
			else
				System.out.println("No");

		else
			System.out.println("No");

	}

}