#include<stdio.h>
#include<stdlib.h>
int main (){
	int A;
	int B;
	int C;
    scanf("%d",&A);
	scanf("%d",&B);
	scanf("%d",&C);
    
if(-100<=A,B,C<=100&A<C&B<C){
    	printf("Yes\n");
	}
     else {
     printf("No");	
	 }   

}