#include <bits/stdc++.h>
constexpr long MOD = 1e9 + 7;
using namespace std;
using P = pair<long, long>;
using VI = vector<long>;
using VP = vector<P>;
using VVI = vector<VI>;
int b[50][50];
int h, w;
bool wh(int i, int j) {
  if (i >= 0 && i < h && j >= 0 && j < w) {
    if (b[i][j] == 0) {
      return true;
    } else {
      return false;
    }
  }
  return true;
}
bool one(int i, int j) {
  if (b[i][j] == 0) return false;
  return wh(i, j - 1) && wh(i, j + 1) && wh(i - 1, j) && wh(i + 1, j);
}
int main() {
  cin >> h >> w;
  for (long(i) = 0; (i) < (h); (i)++) {
    for (long(j) = 0; (j) < (w); (j)++) {
      char c;
      cin >> c;
      if (c == '#') {
        b[i][j] = 1;
      }
    }
  }
  for (long(i) = 0; (i) < (50); (i)++) {
    for (long(j) = 0; (j) < (50); (j)++) {
      if (b[i][j]) {
        if (one(i, j)) {
          cout << i << " " << j << endl;
          cout << "No" << endl;
          return 0;
        }
      }
    }
  }
  cout << "Yes" << endl;
}
