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