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