#include <bits/stdc++.h>
using namespace std;
int a[1005], b[1005];
char c[1005][1005];
int main() {
  int n, m;
  cin >> n >> m;
  int cnt = 0;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      cin >> c[i][j];
      if (c[i][j] == '*') {
        a[i]++;
        b[j]++;
        cnt++;
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      if (c[i][j] == '*') {
        if (a[i] + b[j] - 1 == cnt) return cout << "YES\n" << i << " " << j, 0;
      } else {
        if (a[i] + b[j] == cnt) return cout << "YES\n" << i << " " << j, 0;
      }
    }
  }
  cout << "NO";
}
