#include <bits/stdc++.h>
const long double PI = acos(-1.0);
using namespace std;
template <typename T>
inline void read(T &x) {
  x = 0;
  T f = 1;
  char ch = getchar();
  while (!isdigit(ch)) {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  x *= f;
}
int n, m;
int G[1000 + 10][1000 + 10];
int a[1000 + 10];
int b[1000 + 10];
char s[200000 + 10];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cin >> n >> m;
  int i, j;
  memset(G, 0, sizeof(G));
  int sum = 0;
  for (i = 1; i <= n; i++) {
    cin >> s;
    for (j = 0; j <= m - 1; j++)
      if (s[j] == '*') {
        sum++;
        G[i][j] = 1;
      }
  }
  memset(a, 0, sizeof(a));
  memset(b, 0, sizeof(b));
  for (i = 1; i <= n; i++) {
    for (j = 0; j <= m - 1; j++)
      if (G[i][j]) {
        a[i]++;
      }
  }
  for (j = 0; j <= m - 1; j++) {
    for (i = 1; i <= n; i++)
      if (G[i][j]) {
        b[j]++;
      }
  }
  int ok = 0;
  for (i = 1; i <= n; i++) {
    for (j = 0; j <= m - 1; j++) {
      int tem = 0;
      if (G[i][j]) {
        tem = a[i] + b[j] - 1;
      } else {
        tem = a[i] + b[j];
      }
      if (tem == sum) {
        ok = 1;
        break;
      }
    }
    if (ok) {
      break;
    }
  }
  if (ok) {
    cout << "YES" << endl;
    cout << i << " " << j + 1 << endl;
  } else
    cout << "NO" << endl;
  ;
  return 0;
}
