#include <bits/stdc++.h>
using namespace std;
int row[1005], col[1005], pos, n, m;
char ch[1005][1005];
int main() {
  memset(col, 0, sizeof(col));
  memset(row, 0, sizeof(row));
  scanf("%d%d", &n, &m);
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      cin >> ch[i][j];
      if (ch[i][j] == '*') {
        row[i]++;
        col[j]++;
        pos++;
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      if (ch[i][j] == '*') {
        if (row[i] + col[j] == pos + 1) {
          puts("YES");
          cout << i << ' ' << j << endl;
          return 0;
        }
      } else {
        if (row[i] + col[j] == pos) {
          puts("YES");
          cout << i << ' ' << j << endl;
          return 0;
        }
      }
    }
  }
  puts("NO");
  return 0;
}
