#include using namespace std; int h,w; string s[50]; main() { cin>>h>>w; for(int i=0;i>s[i]; for(int i=0;i0) { cout<<"YES"<