#include <bits/stdc++.h>
using namespace std;
char a[105][105];
int main() {
  int n, m, i, j, xa, ya, x[3], y[3], k = 0;
  cin >> n >> m;
  getchar();
  for (i = 0; i < n; i++) {
    cin >> a[i];
    getchar();
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      if (a[i][j] == '*') {
        x[k] = j;
        y[k++] = i;
      }
    }
  }
  if (x[0] == x[1]) {
    xa = x[2];
  } else if (x[0] == x[2]) {
    xa = x[1];
  } else if (x[1] == x[2]) {
    xa = x[0];
  }
  if (y[0] == y[1]) {
    ya = y[2];
  } else if (y[0] == y[2]) {
    ya = y[1];
  } else if (y[1] == y[2]) {
    ya = y[0];
  }
  cout << ++ya << ' ' << ++xa;
  return 0;
}
