#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, rn = -1, rm = -1;
  cin >> n >> m;
  vector<int> nc, mc;
  vector<int>::iterator inc;
  char c;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      cin >> c;
      if (c == '*') {
        if (nc.size() > 0) {
          inc = std::find(nc.begin(), nc.end(), i);
          if (inc != nc.end())
            nc.erase(inc);
          else
            nc.push_back(i);
        } else
          nc.push_back(i);
        if (mc.size() > 0) {
          inc = std::find(mc.begin(), mc.end(), j);
          if (inc != mc.end())
            mc.erase(inc);
          else
            mc.push_back(j);
        } else
          mc.push_back(j);
      }
    }
  cout << nc[0] + 1 << " " << mc[0] + 1 << endl;
  cin >> c;
  return 0;
}
