#include using namespace std; int main(){ int N,w[100],sum=0; cin >> N; for(int i=0 ; i> w[i]; sum+=w[i]; } if(sum%2){ cout<<"impossible"<j) dp[i][j]=dp[i-1][j]; else dp[i][j]=dp[i-1][j-w[i-1]]; // cout << dp[i][j] <<" "; } } if(dp[N][sum/2]) cout<<"possible"<