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