#include int n,w[100],dp[100][10000]; int main(void){ scanf("%d",&n); int i,j,x=0; for(i=0;i=0;i--){ for(j=0;j<10000;j++){ 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"); }