#include <bits/stdc++.h>
using namespace std;
char gap = 32;
template <typename T>
ostream &operator<<(ostream &os, const vector<T> &v) {
  os << '{';
  for (const auto &x : v) os << gap << x;
  return os << '}';
}
template <typename A, typename B>
ostream &operator<<(ostream &os, const pair<A, B> &p) {
  return os << '(' << p.first << gap << p.second << ')';
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int n, m, i, j, k, x = 0, y = 0;
  cin >> n >> m;
  vector<pair<int, int>> vc;
  vc.clear();
  char ch[100][100];
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      cin >> ch[i][j];
    }
    cout << endl;
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      if (ch[i][j] == '*') {
        vc.emplace_back(i + 1, j + 1);
      }
    }
    cout << endl;
  }
  if (vc[0].first == vc[1].first)
    cout << vc[2].first << ' ';
  else if (vc[1].first == vc[2].first)
    cout << vc[0].first << ' ';
  else
    cout << vc[1].first << ' ';
  if (vc[0].second == vc[1].second)
    cout << vc[2].second << '\n';
  else if (vc[1].second == vc[2].second)
    cout << vc[0].second << '\n';
  else
    cout << vc[1].second << '\n';
}
