#include <bits/stdc++.h>
using namespace std;
int dx[] = {1, 0, -1, 0}, dy[] = {0, 1, 0, -1};
bool in_range(int a, int b) { return a >= 0 && a < b; }
int main() {
  int h, w;
  cin >> h >> w;
  vector<string> S(h);
  for (int i = 0; i < h; ++i) cin >> S[i];
  for (int i = 0; i < h; ++i) {
    for (int j = 0; j < w; ++j) {
      if (S[i][j] != '#') continue;
      bool f = true;
      for (int d = 0; d < 4; ++d) {
        if (in_range(i + dx[d], h) && in_range(j + dy[d], w) &&
            S[i + dx[d]][j + dy[d]] == '#') {
          f = false;
          break;
        }
      }
      if (f) {
        cout << i << " " << j << endl;
        cout << "No" << endl;
        return 0;
      }
    }
  }
  cout << "Yes" << endl;
  return 0;
}
