#include using namespace std; #include using namespace atcoder; using ll=long long; using Graph=vector>; #define INF 1000000000 #define MOD 998244353 #define MAX 200000 int main(){ int N; ll W; cin>>N>>W; vector a(N); for(int i=0;i>a[i]; } vector full_price(1< half_price(1<>i)&1)==1){ sum+=a[i]; } } full_price[bit]=sum; half_price[bit]=sum/2; } int ans=0; //cout<