#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, col = 0;
  cin >> n >> m;
  map<int, int> a, b;
  char c[n][m];
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> c[i][j];
      if (c[i][j] == '*') {
        col++;
        a[i]++;
        b[j]++;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      if (a[i] + b[j] == col && c[i][j] != '*') {
        cout << "YES\n";
        cout << i + 1 << " " << j + 1 << "\n";
        return 0;
      } else if (a[i] + b[j] - 1 == col && c[i][j] == '*') {
        cout << "YES\n" << i + 1 << " " << j + 1 << "\n";
        return 0;
      }
    }
  }
  cout << "NO\n";
}
