#include using namespace std; #define vi vector #define pb push_back #define P pair #define PP pair #define fi first #define se second #define INF 1e9 #define MOD 1000000007 #define REP(i, n) for(int i = 0;i < n;i++) #define REPR(i, n) for(int i = n;i >= 0;i--) #define FOR(i, m, n) for(int i = m;i < n;i++) bool dp[101][10000]; int main(){ int n; cin>>n; vi vec(n); int sum=0; REP(i,n){ cin>>vec[i]; sum+=vec[i]; } if(sum%2){ cout<<"impossible"<