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