#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long m, n, b[12345], w[12345], u, v, d = 0, c = 0;
  int mx = INT_MIN, mn = INT_MAX;
  string p[123];
  char ch;
  bool sorted;
  cin >> n >> m;
  vector<int> a(n);
  for (int row = 0; row < n; row++) {
    cin >> p[row];
    for (int col = 0; col < m; col++) {
      if (p[row][col] == '*') {
        c = c ^ row;
        d = d ^ col;
      }
    }
  }
  cout << c + 1 << ' ' << d + 1;
  return 0;
}
