#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool read(T &x) {
  int c = getchar();
  int sgn = 1;
  while ((~c && c < '0') || c > '9') {
    if (c == '-') sgn = -1;
    c = getchar();
  }
  for (x = 0; ~c && '0' <= c && c <= '9'; c = getchar()) x = x * 10 + c - '0';
  x *= sgn;
  return ~c;
}
int X[] = {-1, 0, 1, 0};
int Y[] = {0, 1, 0, -1};
string grid[1010];
int r, c;
int star = 0;
int row[1010];
int col[1010];
int main() {
  read(r);
  read(c);
  for (int i = 0; i < r; i++) {
    cin >> grid[i];
  }
  for (int i = 0; i < r; i++) {
    for (int j = 0; j < c; j++) {
      if (grid[i][j] == '*') {
        star++;
        row[i]++;
        col[j]++;
      }
    }
  }
  bool found = false;
  for (int i = 0; i < r; i++) {
    for (int j = 0; j < c; j++) {
      if (row[i] + col[j] - (grid[i][j] == '*') == star) {
        cout << "YES" << endl;
        cout << i + 1 << " " << j + 1 << endl;
        found = true;
        break;
      }
    }
    if (found) break;
  }
  if (!found) cout << "NO" << endl;
  return 0;
}
