#include #include using namespace std; int main(void){ int n, m; bool flag = false; cin >> n >> m; for(int i=0; i> str; //cout << str << endl; for(int j=0; j