#include #include #include #include #include #include #include using namespace std; typedef long long ll; int N; ll A[20]; ll dp[1<<20]; int main(){ ios::sync_with_stdio(false); cin.tie(0); cout << setprecision(10) << fixed; ll K; cin >> N >> K; dp[0] = K; for(int j = 0; j < N; j++) cin >> A[j]; for(int i = 0; i < (1<