#include <bits/stdc++.h>
char x[200][200];
int main() {
  int n, m;
  int xx[3], yy[3];
  int s, w;
  int ax, ay;
  while (scanf("%d%d", &n, &m) == 2) {
    scanf(" ");
    s = 0;
    for (int i = 0; i < n; i++) {
      gets(x[i]);
      for (int j = 0; j < m; j++) {
        if (x[i][j] == '*') {
          xx[s] = i;
          yy[s] = j;
          s++;
        }
      }
    }
    if (xx[0] == xx[1]) ax = xx[2];
    if (xx[0] == xx[2]) ax = xx[1];
    if (xx[2] == xx[1]) ax = xx[0];
    if (yy[0] == yy[1]) ay = yy[2];
    if (yy[0] == yy[2]) ay = yy[1];
    if (yy[2] == yy[1]) ay = yy[0];
    printf("%d %d\n", ax + 1, ay + 1);
  }
  return 0;
}
