#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y;
  cin >> x >> y;
  char c[x][y];
  for (int i = 0; i < x; i++)
    for (int j = 0; j < y; j++) cin >> c[i][j];
  int rw[x], cl[y];
  memset(rw, 0, sizeof(rw));
  memset(cl, 0, sizeof(cl));
  int ans = 0, cnt = 0;
  for (int i = 0; i < x; i++)
    for (int j = 0; j < y; j++) {
      if (c[i][j] == '*') {
        rw[i]++;
        cl[j]++;
        cnt++;
      }
    }
  for (int i = 0; i < x; i++)
    for (int j = 0; j < y; j++) {
      int cntt = rw[i] + cl[j];
      if (c[i][j] == '*') {
        cntt--;
      }
      if (cntt == cnt) {
        cout << "YES" << endl;
        cout << i + 1 << " " << j + 1;
        return 0;
      }
    }
  cout << "NO";
  return 0;
}
