#include "bits/stdc++.h"
using namespace std;

int main() {
	int h,w,ans;
	cin >> h>>w;
	vector<vector<char>>s(h,vector<char>(w));
	for (int i = 0; i < h; i++) {
		for (int j = 0; j < w; j++) {
			cin >> s.at(i).at(j);
		}
	}
	for (int stai = 0; stai < h; stai++) {
	for (int staj = 0; staj < w; staj++) {
	for (int eni = 0; eni < h; eni++) {
	for (int enj = 0; enj < w; enj++) {
	int k = stai;
	int l = staj;
	int
	while ((!(k == eni)) && (!(l == enj)))
	{

		if (!(k == 1)) {
			k
		}

	}
	}
	}
	}
	}
	cout << ans<< endl;
}
