#include <bits/stdc++.h>
using namespace std;
long long row[1001];
long long col[1001];
int main() {
  long long i, j, k, n, c, p, l, m, q;
  string s;
  cin >> n >> m;
  long long count1 = 0, count2;
  char a[n][m];
  for (i = 0; i < n; i++)
    for (j = 0; j < m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        row[i]++;
        col[j]++;
        count1++;
      }
    }
  for (i = 0; i < n; i++)
    for (j = 0; j < m; j++) {
      count2 = row[i] + col[j];
      if (a[i][j] == '*') count2--;
      if (count1 == count2) {
        cout << "YES" << endl;
        cout << i + 1 << " " << j + 1;
        return 0;
      }
    }
  cout << "NO";
}
