#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  string s[n];
  for (int i = 0; i < n; i++) cin >> s[i];
  int y = -1, u = -1, y1 = -1, u1 = -1;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      if (s[i][j] == '*') {
        y = i;
        u = j;
        break;
      }
    }
  if (y == -1) {
    cout << "YES\n"
         << "1 1\n"
         << endl;
    return 0;
  }
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      if (i == y || j == u) continue;
      if (s[i][j] == '*') {
        y1 = i;
        u1 = j;
        i = n, j = m;
        break;
      }
    }
  if (y1 == -1) {
    cout << "YES\n" << y + 1 << " " << u + 1 << endl;
    return 0;
  }
  int f1 = 0, f2 = 0;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      if (s[i][j] == '*') {
        if (!(i == y1 || j == u)) {
          f1 = 1;
        }
        if (!(i == y || j == u1)) {
          f2 = 1;
        }
      }
    }
  if (f1 && f2) {
    cout << "NO\n";
  } else if (!f1) {
    cout << "YES\n" << y1 + 1 << " " << u + 1 << endl;
  } else {
    cout << "YES\n" << y + 1 << " " << u1 + 1 << endl;
  }
  return 0;
}
