#include <bits/stdc++.h>
using namespace std;
const int maxn = 1003;
string mp[maxn];
struct Point {
  int r, c;
  Point() : r(-1), c(-1) {}
} p[5];
int n, m;
bool isBoom(Point p, int num) {
  int sum = 0;
  for (int i = 0; i < n; i++) {
    sum += (mp[i][p.c] == '*');
  }
  for (int i = 0; i < m; i++) {
    sum += (mp[p.r][i] == '*');
  }
  sum -= (mp[p.r][p.c] == '*');
  return sum == num;
}
int main() {
  cin >> n >> m;
  int wlNum = 0;
  for (int i = 0; i < n; i++) {
    cin >> mp[i];
    for (int j = 0; j < m; j++) {
      if (mp[i][j] == '*') {
        wlNum++;
        if (p[0].r == -1 && p[0].c == -1)
          p[0].r = i, p[0].c = j;
        else if (i != p[0].r && j != p[0].c)
          p[1].r = i, p[1].c = j;
      }
    }
  }
  p[3].r = (p[0].r == -1 ? 0 : p[0].r);
  p[3].c = (p[1].c == -1 ? 0 : p[1].c);
  p[4].r = (p[1].r == -1 ? 0 : p[1].r);
  p[4].c = (p[0].c == -1 ? 0 : p[0].c);
  if (isBoom(p[3], wlNum))
    cout << "YES" << endl << p[3].r + 1 << " " << p[3].c + 1 << endl;
  else if (isBoom(p[4], wlNum))
    cout << "YES" << endl << p[4].r + 1 << " " << p[4].c + 1 << endl;
  else
    cout << "NO" << endl;
}
