#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define X first #define Y second #define pb push_back #define rep(X,Y) for (int (X) = 0;(X) < (Y);++(X)) #define rrep(X,Y) for (int (X) = (Y)-1;(X) >=0;--(X)) #define repe(X,Y) for ((X) = 0;(X) < (Y);++(X)) #define peat(X,Y) for (;(X) < (Y);++(X)) #define all(X) (X).begin(),(X).end() #define rall(X) (X).rbegin(),(X).rend() #define eb emplace_back #define UNIQUE(X) (X).erase(unique(all(X)),(X).end()) using namespace std; typedef long long ll; typedef pair pii; typedef pair pll; template using vv=vector>; template ostream& operator<<(ostream &os, const vector &t) { os<<"{"; rep(i,t.size()) {os< ostream& operator<<(ostream &os, const pair &t) { return os<<"("< int main(){ ios_base::sync_with_stdio(false); cout<>n>>x; vector a(n); rep(i,n) cin>>a[i]; sort(all(a)); ll T=1e5,t=n; set st[112]; st[0].insert(0); rep(i,n){ if(a[i]>=T){ t=i; break; } st[i+1]=st[i]; for(ll x:st[i]) st[i+1].insert(x+a[i]); } rep(i,1<<(n-t)){ ll sum=0; rep(j,n-t) if(i>>j&1) sum+=a[t+j]; if(st[t].count(x-sum)){ assert(0); } } cout<<"No"<