#include using namespace std; int G[50][50],n,m,cnt; main() { cin>>n>>m; for(int i=0;i>a>>b;G[a][b]=G[b][a]=1; } for(int i=0;i