#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a[200001], l, t, m, n, i, j, k, temp, c;
  vector<long long> v;
  string s[1003];
  cin >> n >> m;
  long long x[1005], y[1005];
  for (i = 1; i <= n; i++) x[i] = 0;
  for (i = 1; i <= m; i++) y[i] = 0;
  for (i = 1; i <= n; i++) {
    cin >> s[i];
    s[i] = " " + s[i];
  }
  t = 0;
  for (i = 1; i <= n; i++)
    for (j = 1; j <= m; j++)
      if (s[i][j] == '*') {
        t++;
        y[j]++;
        x[i]++;
      }
  if (t == 0) {
    cout << "YES" << endl;
    cout << "1 1" << endl;
    return 0;
  }
  for (i = 1; i <= n; i++)
    for (j = 1; j <= m; j++)
      if (x[i] + y[j] - 1 == t && s[i][j] == '*' ||
          x[i] + y[j] == t && s[i][j] != '*') {
        cout << "YES" << endl;
        cout << i << " " << j << endl;
        return 0;
      }
  cout << "NO" << endl;
  ;
  ;
  return 0;
}
