#include <bits/stdc++.h>
using namespace std;
char input[110][110];
int main() {
  int n, m;
  while (cin >> n >> m) {
    int outputx, outputy;
    vector<int> x;
    vector<int> y;
    int i, j;
    for (i = 1; i <= n; i++)
      for (j = 1; j <= m; j++) {
        cin >> input[i][j];
        if (input[i][j] == '*') {
          x.push_back(i);
          y.push_back(j);
        }
      }
    sort(x.begin(), x.end());
    if (x[0] == x[1])
      outputx = x[2];
    else
      outputx = x[0];
    sort(y.begin(), y.end());
    if (y[0] == y[1])
      outputy = y[2];
    else
      outputy = y[0];
    cout << outputx << " " << outputy << endl;
  }
  return 0;
}
