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