#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1000 + 10;
int c[MAXN][MAXN];
int a[MAXN];
int b[MAXN];
int main() {
  int n, m;
  cin >> n >> m;
  int sm = 0;
  for (int i = 0; i < n; i++) {
    a[i] = 0;
    string s;
    cin >> s;
    for (int j = 0; j < m; j++) {
      c[i][j] = (s[j] == '*' ? 1 : 0);
      a[i] += c[i][j];
      sm += c[i][j];
    }
  }
  for (int i = 0; i < m; i++) {
    b[i] = 0;
    for (int j = 0; j < n; j++) {
      b[i] += c[j][i];
    }
  }
  for (int x = 0; x < n; x++) {
    for (int y = 0; y < m; y++) {
      if (a[x] + b[y] - c[x][y] == sm) {
        cout << "YES\n";
        cout << x + 1 << " " << y + 1 << "\n";
        return 0;
      }
    }
  }
  cout << "NO\n";
  return 0;
}
