#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using mpii = map<int, int>;
using mpll = map<ll, ll>;
using si = set<int>;
using sll = set<ll>;
using sll = set<ll>;
using vll = vector<ll>;
int main() {
  int n, m;
  scanf("%d%d", &n, &m);
  char str[n + 5][m + 5];
  int cnt = 0;
  for (int i = 0; i <= n - 1; i++) scanf("%s", str[i]);
  for (int i = 0; i <= n - 1; i++) {
    for (int j = 0; j <= m - 1; j++) {
      if (str[i][j] == '*') cnt++;
    }
  }
  if (cnt == 0) {
    printf("YES\n1 1\n");
    return 0;
  }
  vi row, col;
  for (int i = 0; i <= n - 1; i++) {
    int acnt = 0;
    for (int j = 0; j <= m - 1; j++) {
      if (str[i][j] == '*') acnt++;
    }
    row.push_back(acnt);
  }
  for (int i = 0; i <= m - 1; i++) {
    int acnt = 0;
    for (int j = 0; j <= n - 1; j++) {
      if (str[j][i] == '*') acnt++;
    }
    col.push_back(acnt);
  }
  for (int i = 0; i <= row.size() - 1; i++) {
    for (int j = 0; j <= col.size() - 1; j++) {
      int sum = row[i] + col[j];
      if (str[i][j] == '*') sum--;
      if (sum == cnt) {
        printf("YES\n");
        printf("%d", i + 1);
        printf(" ");
        printf("%d", j + 1);
        printf("\n");
        return 0;
      }
    }
  }
  printf("NO\n");
  return 0;
}
