#include #include #define INF (1<<30) using namespace std; //yuki 4 おもりと天秤 int n,w[101],ms,dp[10001]; int main(){ cin>>n; for(int i=1;i<=n;i++){ cin>>w[i]; ms+=w[i]; } if(ms%2==1){ cout<<"impossible"<