#include <bits/stdc++.h>
using namespace std;
int arr[1003][1003];
int cntR[1003];
int cntC[1003];
int main() {
  int t, i, j, k, n, m, a, b, c = 0;
  cin >> n >> m;
  string inp;
  for (i = 0; i < n; i++) {
    cin >> inp;
    for (j = 0; j < m; j++) {
      if (inp[j] == '*') {
        cntR[i]++;
        cntC[j]++;
        c++;
        arr[i][j]++;
      }
    }
  }
  bool poss = false;
  int x, y;
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      if (cntR[i] + cntC[j] - arr[i][j] == c) {
        poss = true;
        x = i + 1;
        y = j + 1;
      }
    }
  }
  if (poss) {
    cout << "YES" << endl;
    cout << x << " " << y;
  } else {
    cout << "NO" << endl;
  }
}
