#include <bits/stdc++.h>
int main() {
  int i, j, n, m, l, r, k, a, l1;
  char s[101];
  scanf("%i%i\n", &n, &m);
  for (i = 0; i < n; i++) {
    scanf("%100s", s);
    int c = 0;
    for (j = 0; j < m; j++) {
      if (s[j] == '*')
        if (c == 0) {
          c++;
          l1 = j + 1;
        } else {
          c++;
          r = j + 1;
        }
    }
    if (c == 1) {
      k = l1;
      a = i + 1;
    }
    if (c == 2) {
      l = l1;
    }
  }
  printf("%i ", a);
  if (k == l)
    printf("%i\n", r);
  else
    printf("%i\n", l);
  return 0 - 0 - 0;
}
