#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int H = 0, W = 0;
  string res = "Yes";
  cin >> H >> W;
  char cam[52][52] = {};
  for (int j = 0; j < 52; j++)
    for (int i = 0; i < 52; i++) cam[i][j] = '.';
  for (int j = 1; j <= H; j++)
    for (int i = 1; i <= W; i++) cin >> cam[j][i];
  int ci = 1, cj = 1;
  for (cj = 1; cj <= H; cj++) {
    for (ci = 1; ci <= W; ci++) {
      if (cam[cj][ci] == '#') {
        cout << cam[cj][ci] << endl;
        cout << cam[cj - 1][ci] << cam[cj + 1][ci] << cam[cj][ci - 1]
             << cam[cj][ci + 1] << endl;
        cout << ci << cj << endl;
        if (cam[cj][ci - 1] == '#' && cam[cj][ci + 1] != '#' &&
                cam[cj - 1][ci] != '#' ||
            cam[cj + 1][ci] != '#') {
          res = "No";
          break;
        }
      }
    }
  }
  cout << res << endl;
  return 0;
}
