#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, m;
  cin >> n >> m;
  char c[n][m];
  map<int, int> mx, my;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> c[i][j];
      if (c[i][j] == '*') {
        mx[i + 1]++;
        my[j + 1]++;
      }
    }
  }
  auto i = mx.begin();
  if (i->second == 1)
    cout << i->first << " ";
  else {
    i++;
    cout << i->first << " ";
  }
  auto j = my.begin();
  if (j->second == 1)
    cout << j->first << endl;
  else {
    j++;
    cout << j->first << endl;
  }
}
