import java.util.Scanner;

public class Main {
	public void exec() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println((a<b && b<c)?"Yes":"No");
		sc.close();
	}

	public static void main(String[] args)  {
		new Main().exec();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public void exec() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println((a<b && b<c)?"Yes":"No");
		sc.close();
	}

	public static void main(String[] args)  {
		new Main().exec();
	}
} Main public void exec() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println((a<b && b<c)?"Yes":"No");
		sc.close();
	} exec {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println((a<b && b<c)?"Yes":"No");
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc System.out.println((a<b && b<c)?"Yes":"No") System.out.println System.out System System.out (a<b && b<c)?"Yes":"No" (a<b && b<c) a<b a b b<c b c "Yes" "No" sc.close() sc.close sc public static void main(String[] args)  {
		new Main().exec();
	} main {
		new Main().exec();
	} new Main().exec() new Main().exec new Main() String[] args args public class Main {
	public void exec() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println((a<b && b<c)?"Yes":"No");
		sc.close();
	}

	public static void main(String[] args)  {
		new Main().exec();
	}
} public class Main {
	public void exec() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println((a<b && b<c)?"Yes":"No");
		sc.close();
	}

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

public class Main {
	public void exec() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		System.out.println((a<b && b<c)?"Yes":"No");
		sc.close();
	}

	public static void main(String[] args)  {
		new Main().exec();
	}
}