#include <bits/stdc++.h>
using namespace std;
char ma[2000][2000];
int x[2000];
int y[2000];
int main(void) {
  int i, j, n, m;
  while (scanf("%d %d", &n, &m) != EOF) {
    for (i = 0; i < n; i++) {
      scanf("%s", ma[i]);
    }
    memset(x, 0, sizeof(x));
    memset(y, 0, sizeof(y));
    int sum = 0;
    for (i = 0; i < n; i++) {
      for (j = 0; j < m; j++) {
        if (ma[i][j] == '*') {
          x[i]++;
          y[j]++;
          sum++;
        }
      }
    }
    int flag = 0;
    int xx, yy;
    for (i = 0; i < n; i++) {
      for (j = 0; j < m; j++) {
        if (x[i] + y[j] - (ma[i][j] == '*') == sum) {
          flag = 1;
          xx = i;
          yy = j;
          break;
        }
      }
      if (flag) break;
    }
    if (flag) {
      printf("YES\n");
      printf("%d %d\n", xx + 1, yy + 1);
    } else
      printf("NO\n");
  }
  return 0;
}
