import java.util.Scanner;

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

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