#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  long long int n, m, i, j, flag, k = 0, row, col, p;
  cin >> n >> m;
  char a[n + 1][m + 1];
  char c;
  long long int mrow[1001] = {0};
  long long int mcol[1001] = {0};
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        mrow[i]++;
        mcol[j]++;
        k++;
      }
    }
  }
  flag = 0;
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      row = mrow[i];
      col = mcol[j];
      if (a[i][j] == '*')
        p = row + col - 1;
      else
        p = row + col;
      if (p == k) {
        flag = 1;
        cout << "YES\n";
        cout << i << " " << j << "\n";
        break;
      }
    }
    if (flag == 1) break;
  }
  if (flag == 0) cout << "NO\n";
  return 0;
}
