#include int dp[101][10000]; int main(void){ int n,i,j,x=0; scanf("%d",&n); int w[n]; for(i=0;i=0;i--){ for(j=0;j<=10000;j++){ if(j-2*w[i]<0){ dp[i][j]=dp[i+1][j]; }else{ dp[i][j]=dp[i+1][j]>dp[i+1][j-2*w[i]]?dp[i+1][j]:dp[i+1][j-2*w[i]]; } } } puts(dp[0][x]?"possible":"impossible"); }