#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e6;
const int inf = 1e9;
void solve() {
  int n, m;
  cin >> n >> m;
  char c[n][m];
  long long cnt = 0;
  map<int, int> row, col;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> c[i][j];
      if (c[i][j] == '*') {
        cnt++;
        row[i + 1]++;
        col[j + 1]++;
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      if ((row[i] + col[j] == cnt + 1 && c[i - 1][j - 1] == '*')) {
        cout << "YES" << endl;
        cout << i << " " << j << endl;
        return;
      } else if (row[i] + col[j] == cnt && c[i - 1][j - 1] == '.') {
        cout << "YES" << endl;
        cout << i << " " << j << endl;
        return;
      }
    }
  }
  cout << "NO" << endl;
  return;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  solve();
  return 0;
}
