#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  char buf[102];
  cin.getline(buf, 102);
  int x[3];
  int y[3];
  int p = 0;
  for (int i = 0; i < n; ++i) {
    cin.getline(buf, 102);
    for (int j = 0; j < m; ++j) {
      if (buf[j] == '*') {
        x[p] = i + 1;
        y[p++] = j + 1;
      }
    }
  }
  if (x[0] == x[1])
    cout << x[2];
  else
    cout << x[0];
  cout << ' ';
  if (y[0] == y[1])
    cout << y[2];
  else if (y[0] == y[2])
    cout << y[1];
  else
    cout << y[0];
  cout << endl;
  return 0;
}
