#include using namespace std; const int MAX_N = 100, MAX_SUM = 10000; int dp[MAX_N+1][MAX_SUM+1]; int main(){ int n, sw = 0; cin>>n; vector w(n); for(int i=0;i>w[i]; sw += w[i]; } if(sw%2){ cout<<"impossible"<