#include <bits/stdc++.h>
using namespace std;
int G[1100][1100], v[1100], w[1100];
int main() {
  int n, m;
  while (cin >> n >> m) {
    int cnt = 0;
    for (int i = 0; i < n; i++) {
      v[i] = 0;
      for (int j = 0; j < m; j++) {
        char a;
        cin >> a;
        if (a == '*') {
          G[i][j] = 1;
          cnt++;
        } else
          G[i][j] = 0;
        v[i] += G[i][j];
      }
    }
    for (int j = 0; j < m; j++) {
      w[j] = 0;
      for (int i = 0; i < n; i++) {
        w[j] += G[i][j];
      }
    }
    int i, j;
    int f = 1;
    for (i = 0; i < n; i++) {
      for (j = 0; j < m; j++) {
        if ((!G[i][j] && w[j] + v[i] == cnt) ||
            (G[i][j] && w[j] + v[i] == cnt + 1)) {
          cout << "YES" << endl;
          cout << i + 1 << " " << j + 1 << endl;
          f = 0;
          break;
        }
      }
      if (!f) break;
    }
    if (f) cout << "NO" << endl;
  }
  return 0;
}
