#include <bits/stdc++.h>
using namespace std;
char mapp[1002][1002];
int rowc[1002];
int colc[1002];
int n, m;
int check(int x, int y) {
  int res = 0;
  res += rowc[x];
  res += colc[y];
  if (mapp[x][y] == '*') res--;
  return res;
}
int main() {
  int x, y, cnt = 0, tmp;
  scanf("%d%d", &n, &m);
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      scanf(" %c", &mapp[i][j]);
      if (mapp[i][j] == '*') {
        rowc[i]++;
        colc[j]++;
        cnt++;
      }
    }
  }
  bool flag = 0;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      tmp = check(i, j);
      if (tmp == cnt) {
        flag = 1;
        x = i;
        y = j;
        break;
      }
    }
    if (flag) break;
  }
  if (flag)
    printf("YES\n%d %d\n", x, y);
  else
    printf("NO\n");
  return 0;
}
