#include #define ll long long #define INF 1000000005 #define MOD 1000000007 #define EPS 1e-10 #define rep(i,n) for(int i=0;i<(int)(n);++i) #define rrep(i,n) for(int i=(int)(n)-1;i>=0;--i) #define srep(i,s,t) for(int i=(int)(s);i<(int)(t);++i) #define each(a,b) for(auto (a): (b)) #define all(v) (v).begin(),(v).end() #define len(v) (int)(v).size() #define zip(v) sort(all(v)),v.erase(unique(all(v)),v.end()) #define fi first #define se second #define pb push_back #define show(x) cout<<#x<<" = "<<(x)< P; typedef vector vi; typedef vector vvi; typedef vector vl; typedef vector vd; typedef vector

vp; const int MAX_N = 10005; bool dp[MAX_N]; int main() { cin.tie(0); ios::sync_with_stdio(false); int n; cin >> n; vi vec(n); rep(i,n){ cin >> vec[i]; } int sm = accumulate(all(vec),0); if(sm % 2){ cout << "impossible\n"; return 0; } dp[0] = true; rep(i,n){ rrep(j,sm/2+1){ if(j >= vec[i] && dp[j-vec[i]]){ dp[j] = true; } } } if(dp[sm/2]){ cout << "possible\n"; }else{ cout << "impossible\n"; } return 0; }