#include using namespace std; typedef long long int ll; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n,m; cin >> n >> m; vector> e(n,vector(n,false)); int res=0; while(m--){ int x,y; cin >> x >> y; e[x][y]=e[y][x]=true; } for(int i=0;i