#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, k, n, m;
  char s[102][102];
  vector<pair<int, int> > v;
  map<int, int> x, y;
  map<int, int>::iterator it;
  scanf("%d%d", &n, &m);
  for (i = 0; i < n; i++) {
    scanf("%s", s[i]);
    for (j = 0; j < m; j++) {
      if (s[i][j] == '*') {
        v.push_back(pair<int, int>(i, j));
      }
    }
  }
  for (i = 0; i < 3; i++) {
    if (x.find(v[i].first) == x.end()) x[v[i].first] = 0;
    x[v[i].first]++;
    if (y.find(v[i].second) == y.end()) y[v[i].second] = 0;
    y[v[i].second]++;
  }
  for (it = x.begin(); it != x.end(); it++)
    if ((*it).second == 1) cout << ((*it).first + 1) << " ";
  for (it = y.begin(); it != y.end(); it++)
    if ((*it).second == 1) cout << ((*it).first + 1) << "\n";
  return 0;
}
