#include using namespace std; #define int long long signed main(){ int N,X;cin>>N>>X; bool down=false,up=false; for(int i=0;i>a; if(a<=X){ down=true; } if(a>=X){ up=true; } } cout<<(down&&up?"Yes":"No")<