#include <bits/stdc++.h>
using namespace std;
int v[1005];
int g[1005];
char a[1005][1005];
int main() {
  int n, m;
  int coun = 0;
  int temp = 0;
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        v[j]++;
        g[i]++;
        coun++;
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      int temp;
      temp = v[j] + g[i];
      if (a[i][j] == '*') temp--;
      if (temp == coun) {
        cout << "YES" << endl << i << " " << j << endl;
        return 0;
      }
    }
  }
  cout << "NO" << endl;
  return 0;
}
