#include <bits/stdc++.h>
using namespace std;
int n, m, ci, cj;
int main() {
  cin >> n >> m;
  for (int i = 0; i < n; ++i)
    for (int j = 0; j < m; ++j) {
      char ch;
      cin >> ch;
      if (ch == '*') {
        ci ^= i;
        cj ^= j;
      }
    }
  cout << ci + 1 << " " << cj + 1 << endl;
}
