#include <bits/stdc++.h>
using namespace std;
char g[1005][1005];
int col[1005];
int row[1005];
int main() {
  int t, n, m, i, j, tot;
  scanf("%d", &n);
  scanf("%d", &m);
  tot = 0;
  for (i = 0; i < m; i++) col[i] = 0;
  for (i = 0; i < n; i++) {
    scanf("%s", g[i]);
    row[i] = 0;
    for (j = 0; j < m; j++)
      if (g[i][j] == '*') {
        row[i]++;
        col[j]++;
      }
    tot += row[i];
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      int here = row[i] + col[j];
      if (g[i][j] == '*') here--;
      if (here == tot) {
        printf("YES\n%d %d\n", i + 1, j + 1);
        return 0;
      }
    }
  }
  printf("NO\n");
  return 0;
}
