#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int H, W;
  cin >> H >> W;
  vector<vector<int> > canvas(H + 2, vector<int>(W + 2));
  for (int i = 1; i <= H; i++) {
    for (int j = 1; j <= W; j++) {
      char s;
      cin >> s;
      if (s == '#') {
        canvas[i][j] = 1;
      }
    }
  }
  for (int i = 1; i <= H; i++) {
    for (int j = 1; j <= W; j++) {
      if (canvas[i][j] == 1 && canvas[i - 1][j] + canvas[i][j - 1] +
                                       canvas[i + 1][j] + canvas[i][j + 1] ==
                                   0) {
        cout << i << " " << j << endl;
        cout << "No" << endl;
        return 0;
      }
    }
  }
  cout << "Yes" << endl;
  return 0;
}
