#include <bits/stdc++.h>
using namespace std;
int nR, nC, nBom;
char a[5000][5000];
int bR[5000], bC[5000];
int main() {
  cin >> nR >> nC;
  nBom = 0;
  memset(bR, 0, sizeof(bR));
  memset(bC, 0, sizeof(bC));
  for (int i = 0; i < nR; i++) {
    for (int j = 0; j < nC; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        nBom++;
        bR[i]++;
        bC[j]++;
      }
    }
  }
  if (nBom == 0) {
    cout << "YES\n1 1\n";
    return 0;
  }
  for (int i = 0; i < nR; i++) {
    for (int j = 0; j < nC; j++) {
      int kBom = bR[i] + bC[j];
      if (kBom == 0) continue;
      if (a[i][j] == '*') kBom--;
      if (kBom == nBom) {
        cout << "YES\n";
        cout << i + 1 << " " << j + 1 << endl;
        return 0;
      }
    }
  }
  cout << "NO\n";
  return 0;
}
