#include <bits/stdc++.h>
using namespace std;
template <class T1, class T2>
istream &operator>>(istream &is, pair<T1, T2> &p) {
  return is >> p.first >> p.second;
}
template <class T1, class T2>
ostream &operator<<(ostream &os, pair<T1, T2> &p) {
  return os << p.first << " " << p.second;
}
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, m;
  cin >> n >> m;
  vector<int> row(n), col(m);
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      char c;
      cin >> c;
      if (c == '*') row[i]++, col[j]++;
    }
  }
  int x, y;
  for (int i = 0; i < n; i++)
    if (row[i] == 1) x = i;
  for (int j = 0; j < m; j++)
    if (col[j] == 1) y = j;
  cout << x + 1 << " " << y + 1;
}
