#include <bits/stdc++.h>
using namespace std;
long long int n, m;
string s[100];
vector<pair<long long int, long long int>> p;
int main() {
  cin >> n >> m;
  for (long long int i = 0; i < n; ++i) {
    cin >> s[i];
    for (long long int j = 0; j < m; ++j) {
      if (s[i][j] == '*') {
        p.push_back(make_pair(i + 1, j + 1));
      }
    }
  }
  sort(p.begin(), p.end());
  if (p[0].first == p[1].first) {
    cout << p[2].first;
  } else {
    cout << p[0].first;
  }
  cout << " ";
  if (p[0].second == p[1].second) {
    cout << p[2].second;
  } else if (p[1].second == p[2].second) {
    cout << p[0].second;
  } else {
    cout << p[1].second;
  }
  return 0;
}
