#include #define print(x) std::cout << x << std::endl int main(void){ int n,m; std::cin >> n >> m; std::vector s; std::string dummy; for(int i=0;i> dummy; s.push_back(dummy); } for(int i=0;i