#include <bits/stdc++.h>
using namespace std;
char str[1111][1111];
int tot[2][1111];
int main() {
  int N, M, i, j;
  scanf("%d%d", &N, &M);
  for (i = 1; i <= N; i++) scanf("%s", str[i] + 1);
  int cnt = 0;
  for (i = 1; i <= N; i++) {
    for (j = 1; j <= M; j++) {
      if (str[i][j] == '*') {
        tot[0][i]++;
        tot[1][j]++;
        cnt++;
      }
    }
  }
  for (i = 1; i <= N; i++) {
    for (j = 1; j <= M; j++) {
      if (cnt + (str[i][j] == '*') == tot[0][i] + tot[1][j]) {
        printf("YES\n");
        printf("%d %d\n", i, j);
        return 0;
      }
    }
  }
  printf("NO\n");
  return 0;
}
