#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, x, y, i, j, k, p = 0;
  string s;
  cin >> n >> m;
  char a[n + 1][m + 1];
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) cin >> a[i][j];
  }
  for (i = 1; i <= n; i++) {
    k = 0;
    for (j = 1; j <= m; j++) {
      if (a[i][j] == '*') k++;
    }
    if (k == 1) {
      x = i;
      break;
    }
  }
  for (i = 1; i <= m; i++) {
    k = 0;
    for (j = 1; j <= n; j++) {
      if (a[j][i] == '*') k++;
    }
    if (k == 1) {
      y = i;
      break;
    }
  }
  cout << x << " " << y << endl;
}
