#include <bits/stdc++.h>
using namespace std;
char arr[1100][1100];
int rows[1100], cols[1100];
int main() {
  bool flag;
  int rowi, rowj, tempi, tempj;
  bool ans = true;
  int n, m;
  cin >> n >> m;
  int cn = 0;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> arr[i][j];
      if (arr[i][j] == '*') {
        cn++;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    tempi = 0;
    for (int j = 0; j < m; j++) {
      if (arr[i][j] == '*') {
        tempi++;
      }
    }
    rows[i] = tempi;
  }
  for (int i = 0; i < m; i++) {
    tempj = 0;
    for (int j = 0; j < n; j++) {
      if (arr[j][i] == '*') {
        tempj++;
      }
    }
    cols[i] = tempj;
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      int cnt = rows[i] + cols[j];
      if (arr[i][j] == '*') cnt--;
      if (cnt == cn) {
        cout << "YES" << endl;
        cout << (i + 1) << " " << (j + 1) << endl;
        return 0;
      }
    }
  }
  cout << "NO" << endl;
  return 0;
}
