#include <bits/stdc++.h>
using namespace std;
int r[200], c[200];
int main() {
  int n, m;
  scanf("%d %d", &n, &m);
  vector<string> mat(n);
  for (int i = 0; i < n; ++i) {
    cin >> mat[i];
    for (int j = 0; j < m; ++j) {
      if (mat[i][j] == '*') {
        r[i]++;
        c[j]++;
      }
    }
  }
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < m; ++j) {
      if (r[i] == 1 && c[j] == 1) {
        cout << i + 1 << " " << j + 1;
        return 0;
      }
    }
  }
}
