#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, i, j, x1, y1, x2, y2, x3, y3, x4, y4, c;
  cin >> n >> m;
  char str[105][105];
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      cin >> str[i][j];
    }
  }
  c = 0;
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      if (str[i][j] == '*' && c == 0) {
        x1 = i;
        y1 = j;
        c++;
      } else if (str[i][j] == '*' && c == 1) {
        x2 = i;
        y2 = j;
        c++;
      } else if (str[i][j] == '*' && c == 2) {
        x3 = i;
        y3 = j;
        c++;
      }
    }
  }
  if (x1 == x2) {
    x4 = x3;
  } else if (x1 == x3) {
    x4 = x2;
  } else if (x2 == x3) {
    x4 = x1;
  }
  if (y1 == y2) {
    y4 = y3;
  } else if (y1 == y3) {
    y4 = y2;
  } else if (y2 == y3) {
    y4 = y1;
  }
  cout << x4 << " " << y4 << endl;
  return 0;
}
