#include <bits/stdc++.h>
using namespace std;
char c[1000][1000];
int row[1010], col[1010];
int n, m, star = 0, cnt = 0;
int main() {
  cin >> n >> m;
  bool f = false;
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < m; ++j) {
      cin >> c[i][j];
      if (c[i][j] == '*') {
        star++;
        row[i]++;
        col[j]++;
      }
    }
  }
  int newI = 0, newJ = 0;
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < m; ++j) {
      int tmp = 0;
      if (c[i][j] == '*')
        tmp = (row[i] + col[j]) - 1;
      else
        tmp = row[i] + col[j];
      if (tmp == star) {
        f = true;
        newI = i;
        newJ = j;
        break;
      }
    }
    if (f) break;
  }
  if (f)
    cout << "YES\n" << newI + 1 << " " << newJ + 1 << endl;
  else
    cout << "NO\n";
  return 0;
}
