#include <bits/stdc++.h>
using std::cin;
using std::cout;
using std::deque;
using std::endl;
using std::map;
using std::max;
using std::min;
using std::pair;
using std::queue;
using std::sort;
using std::string;
using std::vector;
int main() {
  int n, m;
  cin >> n >> m;
  string s;
  int data[1000][1000] = {
      0,
  };
  int dataVERT[1000] = {
      0,
  };
  int dataHOR[1000] = {
      0,
  };
  int sum = 0;
  for (int i = 0; i < n; i++) {
    cin >> s;
    for (int j = 0; j < m; j++) {
      if (s[j] == '*') {
        dataHOR[i]++;
        dataVERT[j]++;
        sum++;
        data[i][j] = 1;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      if (sum - dataHOR[i] - dataVERT[j] + data[i][j] == 0) {
        cout << "YES" << '\n' << i + 1 << ' ' << j + 1;
        return 0;
      }
    }
  }
  cout << "NO";
  return 0;
}
