#include <bits/stdc++.h>
using namespace std;
class l {
 public:
  l() { y = -1; }
  vector<int> x;
  int y;
  bool ad(int i, int j) {
    if (y != j && y != -1) return false;
    y = j;
    x.push_back(i);
    return true;
  }
};
int main() {
  int a, b;
  cin >> a >> b;
  l tp[2];
  int r = 0;
  for (int i = 1; i <= a; ++i) {
    for (int j = 1; j <= b; ++j) {
      char t;
      cin >> t;
      if (t == '*') {
        if (tp[0].ad(i, j))
          ;
        else
          tp[1].ad(i, j);
      }
    }
  }
  if (tp[0].x.size() == 1) {
    cout << (tp[1].x[0] == tp[0].x[0] ? tp[1].x[1] : tp[1].x[0]);
    cout << " " << tp[0].y;
  } else {
    cout << (tp[0].x[0] == tp[1].x[0] ? tp[0].x[1] : tp[0].x[0]);
    cout << " " << tp[1].y;
  }
}
