#include "bits/stdc++.h" using namespace std; int main(){ int n,m,ans=0; cin>>n>>m; string s; for(int i=0;i>s; for(int j=0;j