#include <bits/stdc++.h>
using namespace std;
bool B = true;
char A[1010][1010];
int N, M, r, c, cnt = 0;
int main() {
  scanf("%d", &N);
  scanf("%d", &M);
  for (int i = 0; i < N; i++) {
    char str[1010];
    scanf("%s\n", str);
    for (int j = 0; j < M; j++) A[i][j] = str[j];
  }
  for (int i = 0; i < N; i++)
    for (int j = 0; j < M; j++)
      if (A[i][j] == '*') {
        r = i;
        c = j;
        cnt++;
      }
  if (cnt == 0) {
    printf("YES\n1 1\n");
    return 0;
  }
  for (int i = 0; i < N; i++) cnt -= A[i][c] == '*';
  for (int i = 0; i < N; i++) {
    int cnt2 = cnt;
    for (int j = 0; j < M; j++)
      if (j != c) cnt2 -= A[i][j] == '*';
    if (cnt2 == 0) {
      printf("YES\n%d %d\n", i + 1, c + 1);
      return 0;
    }
  }
  for (int i = 0; i < N; i++) cnt += A[i][c] == '*';
  for (int j = 0; j < M; j++) cnt -= A[r][j] == '*';
  for (int j = 0; j < M; j++) {
    int cnt2 = cnt;
    for (int i = 0; i < N; i++)
      if (i != r) cnt2 -= A[i][j] == '*';
    if (cnt2 == 0) {
      printf("YES\n%d %d\n", r + 1, j + 1);
      return 0;
    }
  }
  printf("NO\n");
}
