#include #include #include using namespace std; int main() { int N; int M; int u, v; int per=0; int pathpart[4]; cin>>N; cin>>M; int nodevalue[N]; for (int i=0; i>u; cin>>v; nodevalue[u]++; nodevalue[v]++; } for (int j=0; j2){ cout<<"IMPOSSIBLE"; cout<