#include <bits/stdc++.h>
using namespace std;
int col[1005];
int row[1005];
int cnt[1005][1005];
int total = 0;
int main() {
  int n, m;
  total = 0;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    char inp[1005];
    scanf("%s", inp);
    for (int j = 0; j < m; j++) {
      if (inp[j] == '*') {
        row[i] += 1;
        col[j] += 1;
        cnt[i][j] = 1;
        total += 1;
      } else {
        cnt[i][j] = 0;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      int rem = total - row[i] - col[j] + cnt[i][j];
      if (rem == 0) {
        cout << "YES" << endl << i + 1 << ' ' << j + 1 << endl;
        return 0;
      }
    }
  }
  cout << "NO" << endl;
  return 0;
}
