#include <bits/stdc++.h>
long i, j, lst, xx, yy, indx[150], indy[150], r, c;
char st[150];
struct ss {
  long x, y;
} sr[10];
int main() {
  while (~scanf("%ld%ld", &r, &c)) {
    for (i = 0; i < 140; i++) indx[i] = indy[i] = 0;
    lst = 0;
    for (i = 0; i < r; i++) {
      scanf("%s", st);
      for (j = 0; st[j]; j++)
        if (st[j] == '*') {
          sr[lst].x = i;
          sr[lst++].y = j;
        }
    }
    for (i = 0; i < 3; i++) indx[sr[i].x]++, indy[sr[i].y]++;
    for (i = 0; i < 3; i++) {
      if (indx[sr[i].x] < 2) xx = sr[i].x;
      if (indy[sr[i].y] < 2) yy = sr[i].y;
    }
    printf("%ld %ld\n", xx + 1, yy + 1);
  }
  return 0;
}
