#include using namespace std; int dp[1<<20]; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int n,k,t; vector a; cin >> n >> k; for(int i=0;i> t; a.push_back(t); } dp[0] = k; for(int i=0;i<(1<