#include using namespace std; int main(){ int n; cin >> n; int ans = 0; for(int i=0; i> tmp; ans ^= tmp; } if(ans == 0){ cout << "possible" << endl; }else{ cout << "impossible" << endl; } }