#include using namespace std; typedef long long ll; #define REP(i,n) for(int i=0; i #define VLL vector #define VVI vector> #define VVLL vector> #define VC vector #define VS vector #define VVC vector> #define fore(i,a) for(auto &i:a) typedef pair P; template bool chmax(T &a, T b) { if (a < b) { a = b; return true; } return false; } template bool chmin(T &a, T b) { if (a > b) { a = b; return true; } return false; } const int INF = 1 << 30; const ll INFL = 1LL<<60; const ll mod = 1000000007; int main() { int n; cin >> n; int sum = 0; VI w(n); REP(i, n) { cin >> w[i]; sum += w[i]; } vector dp(10100, false); dp[0] = true; REP(i, n) { for (int j = 10050; j >= w[i]; j--) { if (dp[j - w[i]])dp[j] = true; } } if (sum % 2) { cout << "impossible" << endl; return 0; } if (dp[sum / 2]) { cout << "possible" << endl; } else cout << "impossible" << endl; return 0; }