#include <bits/stdc++.h>
using namespace std;
int r, c, w;
char a[1005][1005];
int rows[1005], columns[1005];
int main() {
  scanf("%d%d", &r, &c);
  for (int i = 1; i <= r; i++)
    for (int j = 1; j <= c; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        w++;
        rows[i]++;
        columns[j]++;
      }
    }
  for (int i = 1; i <= r; i++)
    for (int j = 1; j <= c; j++) {
      if (rows[i] + columns[j] - (a[i][j] == '*') == w) {
        printf("YES\n%d %d", i, j);
        return 0;
      }
    }
  printf("NO");
  return 0;
}
