#include using namespace std; int main(){ int N; int W[101]; int sum = 0; bool flag = false; cin >> N; for(int i = 1;i <= N;i++){ cin >> W[i]; sum += W[i]; } if(!(sum & 1)){ sum /= 2; bool dp[101][10001] = {0}; dp[0][0] = true; for(int i = 0;i <= N;i++){ for(int j = 0;j <= sum;j++){ if(dp[i][j] == false)continue; if(j == sum){flag = true;break;} for(int k = k + 1;k <= N;k++){ dp[k][j + W[k]] = true; } } if(flag)break; } } if(flag)cout << "possible" << endl; else cout << "impossible" << endl; return 0; }