#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  while (~scanf("%d%d", &n, &m)) {
    char str[1005][1005];
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < m; j++) {
        scanf(" %c", &str[i][j]);
      }
    }
    int num = 0;
    int x[1005], y[1005];
    for (int i = 0; i < 1005; i++) {
      x[i] = y[i] = 0;
    }
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < m; j++) {
        if (str[i][j] == '*') {
          num++;
          x[i]++;
          y[j]++;
        }
      }
    }
    int flag = 0;
    int x1, y1;
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < m; j++) {
        if (str[i][j] == '*') {
          if (x[i] + y[j] - 1 == num) {
            x1 = i;
            y1 = j;
            flag = 1;
          }
        } else {
          if (x[i] + y[j] == num) {
            x1 = i;
            y1 = j;
            flag = 1;
          }
        }
        if (flag == 1) break;
      }
      if (flag == 1) break;
    }
    if (flag == 1)
      printf("YES\n%d %d\n", x1 + 1, y1 + 1);
    else
      printf("NO\n");
  }
  return 0;
}
