#include <bits/stdc++.h>
using namespace std;
void solve() {
  int x, y;
  cin >> x >> y;
  string s[x];
  int count = 0;
  int r, c;
  for (int i = 0; i < x; i++) cin >> s[i];
  for (int i = 0; i < x; i++) {
    count = 0;
    for (int k = 0; k < y; k++) {
      if (s[i][k] == '*') count++;
    }
    if (count == 1) {
      r = i + 1;
      break;
    }
  }
  for (int i = 0; i < y; i++) {
    count = 0;
    for (int j = 0; j < x; j++) {
      if (s[j][i] == '*') count++;
    }
    if (count == 1) {
      c = i + 1;
      break;
    }
  }
  cout << r << " " << c << "\n";
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  solve();
  return 0;
}
