#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  int row, col;
  scanf("%d %d", &n, &m);
  int cont;
  int colsum[m + 10];
  memset(colsum, 0, sizeof colsum);
  for (int i = 0; i < n; i++) {
    cont = 0;
    for (int j = 0; j < m; j++) {
      char a;
      cin >> a;
      if (a == '*') cont++, colsum[j]++;
    }
    if (cont == 1) row = i + 1;
  }
  for (int i = 0; i < m; i++)
    if (colsum[i] == 1) {
      col = i + 1;
      break;
    }
  printf("%d %d\n", row, col);
  return 0;
}
