#include <bits/stdc++.h>
int main() {
  int m, n, i, j, x, y, count = 0;
  char s[100][100];
  scanf("%d%d", &n, &m);
  for (i = 0; i < n; i++) scanf("%s", &s[i]);
  for (i = 0; i < n; i++) {
    count = 0;
    for (j = 0; j < m; j++) {
      if (s[i][j] == '*') count++;
    }
    if (count == 1) x = i + 1;
  }
  for (i = 0; i < m; i++) {
    count = 0;
    for (j = 0; j < n; j++) {
      if (s[j][i] == '*') count++;
    }
    if (count == 1) y = i + 1;
  }
  printf("%d %d\n", x, y);
  return 0;
}
