#include <bits/stdc++.h>
using namespace std;
int a[1005][1005], di[1005], dj[1005], n, m;
int main() {
  int kk = 0, i, j;
  char c;
  cin >> n >> m;
  memset(di, 0, sizeof(di));
  memset(dj, 0, sizeof(dj));
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      cin >> c;
      if (c == '*') {
        a[i][j] = 1;
        dj[j]++;
        di[i]++;
        kk++;
      } else {
        a[i][j] = 0;
      }
    }
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      if (di[i] + dj[j] - a[i][j] == kk) {
        cout << "YES\n" << i + 1 << " " << j + 1;
        return 0;
      }
    }
  }
  cout << "NO";
  return 0;
}
