#include using namespace std; int n,w[100]; bool check(const int keep,int pos){ int v = 0; for(int i = pos;i < n;i++){ if(i < n){ v = keep - w[i]; if(v == 0){ return true; } else if(v < 0){ return false; } else if(check(v,i + 1)){ return true; } } } return false; } int main(void){ int i,all = 0; cin >> n; for(i = 0;i < n;i++){ cin >> w[i]; all += w[i]; } if(all % 2 != 0){ cout << "impossible" << endl; return 0; } for(i = 0;i < n;i++){ for(int t = i+1;t < n;t++){ if(w[i] > w[t]){ int z = w[t]; w[t] = w[i]; w[i] = z; } } } cout << endl; if(check(all/2,0)){ cout << "possible" << endl; return 0; } cout << "impossible" << endl; }