#include <bits/stdc++.h>
using namespace std;
int x[1003];
int y[1003];
int main() {
  int n, m;
  cin >> n >> m;
  int bx = -1, by = -1;
  int x1 = -1, x2 = -1, y1 = -1, y2 = -1;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      char a;
      cin >> a;
      if (a == '*') {
        x[j]++;
        y[i]++;
        if (x1 == -1) {
          x1 = j;
          y1 = i;
        }
        if (j != x1 && i != y1 && x2 == -1) {
          x2 = j;
          y2 = i;
        }
        if (x[j] > 1 && bx == -1) {
          bx = j;
        }
        if (bx == x1) by = y2;
        if (bx == x2 && x2 != -1) by = y1;
        if (x[j] > 1 && j != bx) {
          cout << "NO";
          return 0;
        }
        if (y[i] > 1 && by == -1) {
          by = i;
        }
        if (by == y1) bx = x2;
        if (by == y2 && y2 != -1) bx = x1;
        if (y[i] > 1 && i != by) {
          cout << "NO";
          return 0;
        }
        if (j != x1 && i != y1 && j != x2 && i != y2) {
          cout << "NO";
          return 0;
        }
      }
    }
  }
  if (bx == -1 && by == -1) {
    bx = x1;
    by = y2;
  }
  if (bx == -1) bx = x1;
  if (by == -1) by = y1;
  cout << "YES\n";
  if (by != -1 && bx != -1) {
    cout << by << " " << bx;
  } else
    cout << 1 << " " << 1;
  return 0;
}
