#include using namespace std; #define FOR(i,a,b) for(int i=a;i>N; REP(i,N){ cin>>W[i]; a+=W[i]; } if(a%2==1){ cout<<"impossible"<=0) dp[i+1][j+1]=(dp[i][j+1]|dp[i][j+1-W[i]]); else dp[i+1][j+1]=dp[i][j+1]; } } debugarr(dp,N+1,a+1); if(dp[N][a]) cout<<"possible"<