#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int r, c;
  cin >> r >> c;
  char s[r + 2][c + 2];
  for (long long int i = 0; i < r; i++) {
    for (long long int j = 0; j < c; j++) {
      cin >> s[i][j];
    }
  }
  long long int ansr, ansc;
  long long int cnt;
  for (long long int i = 0; i < r; i++) {
    cnt = 0;
    for (long long int j = 0; j < c; j++) {
      if (s[i][j] == '*') {
        cnt++;
      }
    }
    if (cnt == 1) {
      ansr = i;
    }
  }
  long long int chk = 0;
  for (long long int i = 0; i < c; i++) {
    cnt = 0;
    for (long long int j = 0; j < r; j++) {
      if (s[j][i] == '*') cnt++;
    }
    if (cnt == 1) {
      ansc = i;
    }
  }
  cout << ansr + 1 << ' ';
  cout << ansc + 1 << '\n';
  return 0;
}
