#include <bits/stdc++.h>
using namespace std;
char X[1111][1111];
int V[1111], G[1111];
int main() {
  int n, m, cnt = 0;
  scanf("%d %d", &n, &m);
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      scanf(" %c", &X[i][j]);
      if (X[i][j] == '*') cnt++;
    }
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++)
      if (X[i][j] == '*') V[i]++;
  for (int i = 0; i < m; i++)
    for (int j = 0; j < n; j++)
      if (X[j][i] == '*') G[i]++;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      if (X[i][j] == '*') {
        if (V[i] + G[j] - 1 == cnt)
          return printf("YES\n%d %d", i + 1, j + 1), 0;
      } else if (V[i] + G[j] == cnt)
        return printf("YES\n%d %d", i + 1, j + 1), 0;
    }
  return printf("NO"), 0;
}
