#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  char arr[n][m];
  vector<int> xi, yi;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> arr[i][j];
      if (arr[i][j] == '*') {
        xi.push_back(i);
        yi.push_back(j);
      }
    }
  }
  int x = xi[0];
  for (int i = 1; i < xi.size(); i++) {
    x = (x ^ xi[i]);
  }
  int y = yi[0];
  for (int i = 1; i < yi.size(); i++) {
    y = (y ^ yi[i]);
  }
  cout << x + 1 << " " << y + 1;
}
