#include <bits/stdc++.h>
using namespace std;
int main() {
  int height;
  int width;
  cin >> height;
  cin >> width;
  vector<vector<char>> vec;
  for (int i = 0; i < height; ++i) {
    for (int j = 0; j < width; ++j) {
      cin >> vec[i][j];
    }
  }
}
