#include <bits/stdc++.h>
int main() {
  int n, m;
  int j, i, k = 0;
  scanf("%d %d", &n, &m);
  char mapa[n][m];
  int x[4][2];
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      scanf(" %c", &mapa[i][j]);
    }
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      if (mapa[i][j] == '*') {
        x[k][0] = i;
        x[k][1] = j;
        k++;
      }
    }
  }
  if (x[0][0] == x[1][0])
    x[3][0] = x[2][0];
  else if (x[0][0] == x[2][0])
    x[3][0] = x[1][0];
  else if (x[1][0] == x[2][0])
    x[3][0] = x[0][0];
  if (x[0][1] == x[1][1])
    x[3][1] = x[2][1];
  else if (x[0][1] == x[2][1])
    x[3][1] = x[1][1];
  else if (x[1][1] == x[2][1])
    x[3][1] = x[0][1];
  printf("%d %d", x[3][0] + 1, x[3][1] + 1);
  return 0;
}
