#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  vector<string> arr(n);
  for (int i = 0; i < n; i++) cin >> arr[i];
  unordered_map<int, int> row, col;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      if (arr[i][j] == '*') {
        row[i]++;
        col[j]++;
      }
    }
  }
  int xans = 0, yans = 0;
  for (auto r : row)
    if (r.second == 1) xans = r.first;
  for (auto s : col)
    if (s.second == 1) yans = s.first;
  cout << xans + 1 << " " << yans + 1 << endl;
}
