#include <iostream>

using namespace std;

int main()
{   int A,B,C;
cout<<"enter 3 numbers"<<endl;
cin>>A;
cin>>B;
cin>>C;
 if(C>A&&C<B){
    cout<<"yes";
 }
    else{
        cout<<"no";
    }
    return 0;
}
