#include <bits/stdc++.h>
const int mo = 1000000007;
const int inf = 0x3f3f3f3f;
double pi = 3.14159265358979323846;
double e = 2.71828182845904523536;
using namespace std;
int a[1005], b[1005];
int vis[1005][1005];
int main() {
  int n, m;
  int num = 0;
  int ans = 0;
  char cnm[1005][1005];
  cin >> n >> m;
  for (int i = 1; i <= n; i++) scanf("%s", cnm[i] + 1);
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= m; j++)
      if (cnm[i][j] == '*') {
        ++num;
        a[i]++;
      }
  for (int j = 1; j <= m; j++)
    for (int i = 1; i <= n; i++)
      if (cnm[i][j] == '*') {
        ++num;
        b[j]++;
      }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      ans = a[i] + b[j];
      if (cnm[i][j] == '*') ans--;
      if (ans == num / 2) {
        cout << "YES" << endl;
        cout << i << ' ' << j << endl;
        return 0;
      }
    }
  }
  if (num != 0)
    cout << "NO" << endl;
  else {
    cout << "YES" << endl;
    cout << 1 << ' ' << 1 << endl;
  }
}
