#include <bits/stdc++.h>
using namespace std;
int ans1, ans2, aux, ugh, n, m, walls, x, y;
char arr[1011][1011];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> m;
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= m; j++) {
      cin >> arr[i][j];
      if (arr[i][j] == '*') {
        if (!x) x = i, y = j;
        walls++;
      }
    }
  if (walls) {
    for (int i = 1; i <= n; i++)
      if (arr[i][y] == '*') ugh++;
    for (int i = 1; i <= n; i++) {
      aux = 0;
      for (int j = 1; j <= m; j++)
        if (arr[i][j] == '*' && j != y) aux++;
      if (aux + ugh == walls) ans1 = i, ans2 = y;
    }
    ugh = 0;
    for (int i = 1; i <= m; i++)
      if (arr[x][i] == '*') ugh++;
    for (int i = 1; i <= m; i++) {
      aux = 0;
      for (int j = 1; j <= n; j++)
        if (arr[j][i] == '*' && j != x) aux++;
      if (aux + ugh == walls) ans1 = x, ans2 = i;
    }
    if (!ans1) {
      cout << "NO";
    } else
      cout << "YES\n" << ans1 << " " << ans2;
  } else
    cout << "YES\n1 1";
}
