#include <bits/stdc++.h>
using namespace std;
string a[1007];
long long r, c, n, m;
vector<long long> row[1007], col[1007];
int main() {
  ios::sync_with_stdio(0);
  cin >> n >> m;
  for (int i = 1; i <= n; i++) cin >> a[i];
  int wall = 0;
  r = 0, c = 0;
  for (int i = 1; i <= n; i++) {
    for (int j = 0; j < m; j++) {
      if (a[i][j] == '*') {
        wall++;
        row[i].push_back(i);
        col[j + 1].push_back(j + 1);
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      r = row[i].size();
      c = col[j].size();
      if (a[i][j - 1] == '*') wall++;
      if ((r + c) == wall) {
        cout << "YES" << endl;
        cout << i << " " << j;
        cout << endl;
        return 0;
      }
      if (a[i][j - 1] == '*') wall--;
    }
  }
  cout << "NO";
}
