#include <bits/stdc++.h>
char m[103][103];
int main() {
  int i, j, n, c, m, prei, maxj, minj, prej, tag, sum;
  int ii[4], jj[4];
  while (scanf("%d%d", &n, &m) != EOF) {
    getchar();
    prej = prei = -1;
    sum = 0;
    for (i = 1; i <= n; i++) {
      for (j = 1; j <= m; j++) {
        c = getchar();
        if (c == '*') {
          if (prei == i) {
            maxj = j;
            tag = i;
            minj = prej;
          }
          ii[sum] = i;
          jj[sum] = j;
          sum++;
          prei = i;
          prej = j;
        }
      }
      getchar();
    }
    for (i = 0; i < sum; i++)
      if (ii[i] != tag) break;
    if (minj == jj[i])
      printf("%d %d\n", ii[i], maxj);
    else
      printf("%d %d\n", ii[i], minj);
  }
  return 0;
}
