#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, m;
  cin >> n >> m;
  vector<string> v;
  string s;
  int i, j, count = 0, row = 1, col = 1;
  for (i = 0; i < n; i++) {
    cin >> s;
    v.push_back(s);
  }
  for (i = 0; i < n; i++) {
    count = 0;
    for (j = 0; j < m; j++) {
      if (v[i][j] == '*') count++;
    }
    if (count == 1) row = i + 1;
  }
  for (i = 0; i < m; i++) {
    count = 0;
    for (j = 0; j < n; j++) {
      if (v[j][i] == '*') count++;
    }
    if (count == 1) col = i + 1;
  }
  cout << row << " " << col << "\n";
  return 0;
}
