#include <bits/stdc++.h>
using namespace std;
char a[1001][1001];
int main() {
  int n, m, count = 0;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') count++;
    }
  }
  int r[n], c[m];
  for (int i = 0; i < n; i++) r[i] = 0;
  for (int i = 0; i < m; i++) c[i] = 0;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      if (a[i][j] == '*') {
        r[i]++;
        c[j]++;
      }
    }
  }
  int row, col, f = 0;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      int x = 0;
      if (a[i][j] == '*') x = 1;
      if ((r[i] + c[j] - x) == count) {
        row = i;
        col = j;
        f = 1;
        break;
      }
    }
    if (f == 1) break;
  }
  if (f == 0)
    cout << "NO";
  else {
    cout << "YES" << endl;
    cout << row + 1 << " " << col + 1;
  }
  cout << endl;
  return 0;
}
