#include <bits/stdc++.h>
using namespace std;
int R[1005], C[1005];
int T[1005][1005];
vector<pair<int, int> > V;
int main() {
  ios_base::sync_with_stdio(0);
  int n, m;
  cin >> n >> m;
  int cnt = 0;
  int cnt1 = 0, cnt2 = 0, cnt3 = 0, cnt4 = 0;
  int x = 0, y = 0;
  int x2, y2;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      char c;
      cin >> c;
      if (c == '*') {
        cnt++;
        V.push_back(make_pair(i + 1, j + 1));
        T[i][j] = 1;
        R[i]++;
        C[j]++;
        x = i, y = j;
      } else
        T[i][j] = 0;
    }
  for (int i = 0; i < n; i++) {
    if (R[i] > 1) {
      for (int j = 0; j < m; j++) {
        if (R[i] + C[j] - T[i][j] == cnt) {
          cout << "YES\n" << i + 1 << " " << j + 1 << "\n";
          return 0;
        }
      }
      cout << "NO\n";
      return 0;
    }
  }
  for (int i = 0; i < m; i++) {
    if (C[i] > 1) {
      for (int j = 0; j < n; j++) {
        if (R[j] + C[i] - T[j][i] == cnt) {
          cout << "YES\n" << j + 1 << " " << i + 1 << "\n";
          return 0;
        }
      }
      cout << "NO\n";
      return 0;
    }
  }
  if (cnt > 2) {
    cout << "NO\n";
  } else if (cnt == 2) {
    cout << "YES\n" << V[0].first << " " << V[1].second << "\n";
  } else if (cnt == 1) {
    cout << "YES\n" << V[0].first << " " << V[0].second << "\n";
  } else
    cout << "YES\n1 1\n";
  return 0;
}
