#include <bits/stdc++.h>
using namespace std;
int main() {
  bool testing = false;
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  if (testing) {
    freopen("test.txt", "rt", stdin);
  }
  int n, m, count = 0;
  cin >> n >> m;
  char arr[n][m];
  int row[n], column[m];
  for (long long i = 0; i < n; ++i) {
    int c1 = 0;
    for (long long j = 0; j < m; ++j) {
      cin >> arr[i][j];
      if (arr[i][j] == '*') {
        ++count;
        ++c1;
      }
    }
    row[i] = c1;
  }
  for (long long i = 0; i < m; ++i) {
    int c1 = 0;
    for (long long j = 0; j < n; ++j) {
      if (arr[j][i] == '*') {
        ++c1;
      }
    }
    column[i] = c1;
  }
  int current;
  for (long long i = 0; i < n; ++i) {
    for (long long j = 0; j < m; ++j) {
      current = row[i] + column[j];
      if (arr[i][j] == '*') {
        current--;
      }
      if (current == count) {
        cout << "YES\n";
        cout << i + 1 << " " << j + 1 << "\n";
        return 0;
      }
    }
  }
  cout << "NO\n";
  return 0;
}
