#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, w = 0;
  cin >> n >> m;
  char ch[1001][1001];
  int a[1001] = {0}, b[1001] = {0};
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= m; j++) {
      cin >> ch[i][j];
      if (ch[i][j] == '*') {
        w++;
        a[i]++;
        b[j]++;
      }
    }
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= m; j++) {
      if (a[i] + b[j] - (ch[i][j] == '*') == w) {
        cout << "YES"
             << "\n"
             << i << " " << j;
        return 0;
      }
    }
  cout << "NO";
}
