// g++ -std=c++11 temp.cpp #include using namespace std; #define FOR(i,a,b) for(int i=(int)(a);i<(int)(b);i++) #define REP(i,n) FOR(i,0,n) #define EACH(itr,v) for(auto itr:v) #define pb(s) push_back(s) #define mp(a,b) make_pair(a,b) #define all(x) (x).begin(),(x).end() #define dbg(x) cout<<#x"="< P; typedef pair PPI; #define INF INT_MAX/3 #define MAX_N 1000 int n; int w[100]; int sum = 0; bool dp[111]; int main(){ cin>>n; REP(i,n){ cin>>w[i]; sum += w[i]; } if(sum%2==1){ cout<<"impossible"<