#include #include #include #include #include #include #include typedef long long ll; const ll INF=20000; using namespace std; int main(){ ll n,x; cin>>n>>x; ll ans=0; vector C(n); for(int i=0;i>C[i]; } sort(C.begin(),C.end()); ll right=C[n-1]; ll left=C[0]; if(x<=right&&left<=x)cout<<"Yes"<