#include <bits/stdc++.h>
using namespace std;
const int maxn = 1000 + 10;
int n, m;
char s[maxn][maxn];
int row[maxn], col[maxn];
int chk(int x, int y) {
  int res = 0;
  res += row[x];
  res += col[y];
  if (s[x][y] == '*') res--;
  return res;
}
int main() {
  scanf("%d%d", &n, &m);
  for (int i = 0; i < n; i++) scanf("%s", s[i]);
  int cnt = 0;
  memset(row, 0, sizeof(row));
  memset(col, 0, sizeof(col));
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      if (s[i][j] == '*') {
        cnt++;
        row[i]++;
        col[j]++;
      }
    }
  }
  int ok = false;
  pair<int, int> center;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      if (chk(i, j) == cnt) {
        ok = true;
        center = make_pair(i + 1, j + 1);
        break;
      }
    }
    if (ok) break;
  }
  if (ok) {
    printf("YES\n");
    printf("%d %d", center.first, center.second);
  } else {
    printf("NO\n");
  }
  return 0;
}
