#include <bits/stdc++.h>
using namespace std;
int N, M;
string field[1000];
int row[1000];
int col[1000];
int total;
int main() {
  cin >> N >> M;
  for (int i = 0; i < N; i++) cin >> field[i];
  for (int i = 0; i < N; i++) {
    for (int j = 0; j < M; j++) {
      if (field[i][j] == '*') {
        row[i]++;
        col[j]++;
        total++;
      }
    }
  }
  for (int i = 0; i < N; i++) {
    for (int j = 0; j < M; j++) {
      int x = (field[i][j] == '*');
      if (row[i] + col[j] - x == total) {
        cout << "YES" << endl;
        cout << i + 1 << " " << j + 1 << endl;
        return 0;
      }
    }
  }
  cout << "NO" << endl;
}
