#include <bits/stdc++.h>
using namespace std;
int n, m;
map<int, int> R, C;
char ch;
int main() {
  cin >> n >> m;
  for (int r = 0; r < n; ++r) {
    for (int c = 0; c < m; ++c) {
      cin >> ch;
      if (ch == '*') {
        ++R[r];
        ++C[c];
      }
    }
  }
  for (auto r : R) {
    if (r.second == 1) {
      cout << r.first + 1 << " ";
    }
  }
  for (auto c : C) {
    if (c.second == 1) {
      cout << c.first + 1 << endl;
    }
  }
  return 0;
}
