#include <bits/stdc++.h>
using namespace std;
int c[1010], r[1010];
int main() {
  long long n, m, i, j, ax, ay, f = 0, w = 0;
  char s[1100][1100];
  scanf("%lld %lld", &n, &m);
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      scanf(" %c", &s[i][j]);
      if (s[i][j] == '*') {
        c[j]++;
        r[i]++;
        w++;
      }
    }
  }
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      if (s[i][j] == '*') {
        if (r[i] == w || c[j] == w || r[i] + c[j] == w + 1) {
          f = 1;
          ax = i;
          ay = j;
          break;
        }
      } else {
        if (r[i] == w || c[j] == w || r[i] + c[j] == w) {
          f = 1;
          ax = i;
          ay = j;
          break;
        }
      }
    }
    if (f == 1) break;
  }
  if (f == 1) {
    printf("YES\n");
    printf("%lld %lld\n", ax, ay);
  } else
    printf("NO\n");
  return 0;
}
