#include using namespace std; int main(){ int H, W; cin >> H >> W; int num[2] = {0}; for(int i=H-1; i>=0; i--){ string S; cin >> S; for(int j=0; j