#include <bits/stdc++.h>
int main(int argc, char const *argv[]) {
  int n, m;
  std::cin >> n >> m;
  int flag = 1;
  std::vector<std::vector<char> > data(n, std::vector<char>(m));
  std::vector<int> row(n);
  std::vector<int> col(m);
  int all = 0;
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < m; ++j) {
      std::cin >> data[i][j];
      if (data[i][j] == '*') ++all;
    }
  }
  for (int i = 0; i < n; ++i) {
    int num = 0;
    for (int j = 0; j < m; ++j) {
      if (data[i][j] == '*') ++num;
    }
    row[i] = num;
  }
  for (int i = 0; i < m; ++i) {
    int num = 0;
    for (int j = 0; j < n; ++j) {
      if (data[j][i] == '*') ++num;
    }
    col[i] = num;
  }
  int ans = 0;
  int x;
  int y;
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < m; ++j) {
      int cur = all;
      if (data[i][j] == '*') ++cur;
      if (cur - row[i] - col[j] == 0) {
        ++ans;
        x = i;
        y = j;
      }
    }
  }
  if (ans == 0)
    std::cout << "NO" << std::endl;
  else
    std::cout << "YES" << std::endl << x + 1 << " " << y + 1 << std::endl;
  return 0;
}
