#include <bits/stdc++.h>
using namespace std;
int r1[100000];
int c1[100000];
int main() {
  string str[1002];
  int counti = 0;
  int maxr = INT_MIN, maxc = INT_MIN;
  int i, j, n, m, var1 = -1, var2 = -1;
  cin >> n >> m;
  for (i = 0; i < n; i++) cin >> str[i];
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      if (str[i][j] == '*') {
        r1[i]++;
        c1[j]++;
        counti++;
      }
    }
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      int x = r1[i] + c1[j] - (str[i][j] == '*');
      if (x == counti) {
        cout << "YES\n";
        cout << i + 1 << " " << j + 1 << "\n";
        return 0;
      }
    }
  }
  cout << "NO\n";
  return 0;
}
