#include using namespace std; using ll = long long; int main(){ int n; cin >> n; ll k; cin >> k; ll a[n]; for(int i = 0 ; i < n ; i++)cin >> a[i]; for (int bit = 0; bit < (1< S; for (int i = 0; i < n; ++i) { if (bit & (1<