#include #include using namespace std; int n,m; int ccf; int main() { ios::sync_with_stdio(false); cin.tie(0); cin>>n>>m; for (int i=0; i<(1<