#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n, m;
  cin >> n >> m;
  vector<string> a(n);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  pair<int, int> ans;
  int cnt = 0;
  for (int i = 0; i < n; i++) {
    cnt = 0;
    for (int j = 0; j < m; j++) {
      if (a[i][j] == '*') {
        cnt++;
      }
    }
    if (cnt == 1) {
      ans.first = i;
    }
  }
  for (int j = 0; j < m; j++) {
    cnt = 0;
    for (int i = 0; i < n; i++) {
      if (a[i][j] == '*') {
        cnt++;
      }
    }
    if (cnt == 1) {
      ans.second = j;
    }
  }
  cout << ans.first + 1 << " " << ans.second + 1;
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  solve();
  return 0;
}
