#include <bits/stdc++.h>
const int MAXN = 1e5 * 5;
const int INF = 1e9 + 7;
const int N = 5000;
using namespace std;
int n, m, h[N], c[N], cnt;
char a[N][N];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> m;
  for (int i = 1; i <= n; ++i)
    for (int j = 1; j <= m; ++j) {
      cin >> a[i][j];
      if (a[i][j] == '*') ++h[i], ++c[j], ++cnt;
    }
  for (int i = 1; i <= n; ++i)
    for (int j = 1; j <= m; ++j)
      if (h[i] + c[j] - (a[i][j] == '*') >= cnt) {
        cout << "YES" << '\n';
        cout << i << ' ' << j;
        return 0;
      }
  cout << "NO";
  return 0;
}
