#include using namespace std; typedef long long ll; #define FOR(i,a,b) for(int i=(a);i<(int)(b);i++) #define rep(i,n) FOR(i,0,n) #define ALL(x) (x).begin(),(x).end() int main() { int n; cin >> n; vector w(n); ll tot = 0; for(int& i : w){ cin >> i; tot += i; } sort(ALL(w)); rep(i,n-1){ ll lw=0, rw=0; rep(j, i+1) lw += w[j]; rw = tot - lw; if(lw == rw) { puts("possible"); return 0; } } puts("impossible"); return 0; }