#include <bits/stdc++.h>
using namespace std;
int lin[1010], col[1010];
bool zid[1010][1010];
int main() {
  char c;
  int n, m;
  int nr = 0;
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      cin >> c;
      if (c == '*') {
        zid[i][j] = 1;
        lin[i]++;
        col[j]++;
        nr++;
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      if (lin[i] + col[j] - zid[i][j] == nr) {
        cout << "YES\n" << i << ' ' << j;
        return 0;
      }
    }
  }
  cout << "NO";
  return 0;
}
