#include <bits/stdc++.h>
using namespace std;
char chart[2000][2000];
int cnth[2000];
int cntl[2000];
int main() {
  int n, m;
  cin >> n >> m;
  set<int> se1;
  set<int> se2;
  int cnt = 0;
  for (int i = 0; i < n; i++) {
    cin >> chart[i];
    for (int j = 0; j < m; j++) {
      if (chart[i][j] == '*') {
        cnt++;
        cnth[i]++;
        cntl[j]++;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      int killed = cnth[i] + cntl[j] - (chart[i][j] == '*');
      if (killed == cnt) {
        cout << "YES\n" << i + 1 << " " << j + 1 << endl;
        return 0;
      }
    }
  }
  cout << "NO\n" << endl;
}
