#include <bits/stdc++.h>
using namespace std;
int r[1005], c[1005], all, n, m;
char a[1005][1005];
int main() {
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') r[i]++, c[j]++, all++;
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      int res;
      res = r[i] + c[j];
      if (a[i][j] == '*') res--;
      if (res == all) {
        cout << "YES" << endl << i << ' ' << j;
        return 0;
      }
    }
  }
  cout << "NO";
  return 0;
}
