#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  int lookupRow[101] = {0};
  int lookupCol[101] = {0};
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      char temp;
      cin >> temp;
      if (temp == '*') {
        lookupRow[i]++;
        lookupCol[j]++;
      }
    }
  }
  int row = 0;
  int col = 0;
  for (int i = 0; i < 101; i++) {
    if (lookupRow[i] == 1) row = i + 1;
    if (lookupCol[i] == 1) col = i + 1;
  }
  cout << row << " " << col;
  return 0;
}
