#include <bits/stdc++.h>
using namespace std;
inline long toInt(string s) {
  long v;
  istringstream sin(s);
  sin >> v;
  return v;
}
template <class T>
inline string toString(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
template <class T>
inline T sqr(T x) {
  return x * x;
}
long long pw(long long x, long long y) {
  long long ans = 1;
  for (long long i = 0; i < y; i++) {
    ans = ans * x;
  }
  return ans;
}
long long factorial(long long x) {
  long long ans = 1;
  for (int i = 1; i < x + 1; i++) {
    ans = ans * i;
  }
  return ans;
}
long long combination(long long x, long long y) {
  return factorial(x) / factorial(y) / factorial(x - y);
}
long long permutation(long long x, long long y) {
  return factorial(x) / factorial(x - y);
}
int main() {
  int n, m;
  cin >> n >> m;
  vector<int> temp(m, 0);
  vector<vector<int>> v(n, temp);
  vector<int> vsum(m, 0);
  vector<int> hsum(n, 0);
  list<pair<int, int>> l;
  for (int i = 0; i < n; i++) {
    for (int k = 0; k < m; k++) {
      char c;
      cin >> c;
      if (c == '*') {
        v[i][k] = 1;
        vsum[k]++;
        hsum[i]++;
        l.push_back({i, k});
      }
    }
  }
  int flag = 0;
  int hor;
  for (int i = 0; i < n; i++) {
    if (hsum[i] > 1) {
      if (flag == 1) {
        cout << "NO" << endl;
        return 0;
      }
      flag = 1;
      hor = i;
    }
  }
  int flag2 = 0;
  int ver;
  for (int i = 0; i < m; i++) {
    if (vsum[i] > 1) {
      if (flag2 == 1) {
        cout << "NO" << endl;
        return 0;
      }
      flag2 = 1;
      ver = i;
    }
  }
  if (flag == 0 && flag2 == 0) {
    int sum = 0;
    for (auto i : vsum) {
      sum += i;
    }
    if (sum == 0) {
      cout << "YES" << endl;
      cout << 1 << ' ' << 1 << endl;
      return 0;
    } else if (sum == 1) {
      cout << "YES" << endl;
      cout << l.front().first + 1 << ' ' << l.front().second + 1 << endl;
      return 0;
    } else if (sum == 2) {
      cout << "YES" << endl;
      cout << l.front().first + 1 << ' ' << l.back().second + 1 << endl;
      return 0;
    } else {
      cout << "NO" << endl;
      return 0;
    }
  } else if (flag == 0 && flag2 == 1) {
    int flag3 = -1;
    for (int i = 0; i < n; i++) {
      if (hsum[i] - v[i][ver] > 0) {
        if (flag3 != -1) {
          cout << "NO" << endl;
          return 0;
        }
        flag3 = i;
      }
    }
    if (flag3 == -1) {
      flag3 = 0;
    }
    cout << "YES" << endl;
    cout << flag3 + 1 << ' ' << ver + 1 << endl;
    return 0;
  } else if (flag == 1 && flag2 == 0) {
    int flag3 = -1;
    for (int i = 0; i < m; i++) {
      if (vsum[i] - v[hor][i] > 0) {
        if (flag3 != -1) {
          cout << "NO" << endl;
          return 0;
        }
        flag3 = i;
      }
    }
    if (flag3 == -1) {
      flag3++;
    }
    cout << "YES" << endl;
    cout << hor + 1 << ' ' << flag3 + 1 << endl;
    return 0;
  } else {
    for (auto i : l) {
      if (i.first != hor && i.second != ver) {
        cout << "NO" << endl;
        return 0;
      }
    }
    cout << "YES" << endl;
    cout << hor + 1 << ' ' << ver + 1 << endl;
    return 0;
  }
}
