#include #include using namespace std; using lint=int64_t; int main() { int H,W; string S[55]; cin >> H >> W; for(int i=0;i> S[i]; bool ans=false; for(int i=0;i