#include #include using namespace std; int n,m; int main (){ cin >> n >> m; for(int i=0; i> s; for(int j=0; j