#include <bits/stdc++.h>
int x, y;
int n, m;
struct point {
  int x, y;
} p[4];
void gety() {
  if (p[0].y == p[1].y)
    y = p[2].y;
  else if (p[0].y == p[2].y)
    y = p[1].y;
  else
    y = p[0].y;
}
void sovle() {
  if (p[0].x == p[1].x) {
    x = p[2].x;
  } else if (p[0].x == p[2].x) {
    x = p[1].x;
  } else {
    x = p[0].x;
  }
  gety();
}
int main() {
  int i, j, t = 0;
  char rows[105];
  scanf("%d%d", &n, &m);
  for (i = 0; i < n; ++i) {
    scanf("%s", rows);
    for (j = 0; j < m; ++j)
      if (rows[j] == '*') {
        p[t].x = i;
        p[t].y = j;
        t++;
      }
  }
  sovle();
  printf("%d %d\n", x + 1, y + 1);
  return 0;
}
