#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, i, j;
  char ar[101][101];
  vector<int> s1;
  vector<int> s2;
  cin >> a >> b;
  for (i = 0; i < a; i++) {
    for (j = 0; j < b; j++) {
      cin >> ar[i][j];
    }
  }
  for (i = 0; i < a; i++) {
    for (j = 0; j < b; j++) {
      if (ar[i][j] == '*') {
        s1.push_back(i + 1);
        s2.push_back(j + 1);
      }
    }
  }
  sort(s1.begin(), s1.end());
  sort(s2.begin(), s2.end());
  for (i = 0; i < s1.size() - 1; i++) {
    if (s1[i] != s1[i + 1]) {
      if (i == 0)
        cout << s1[i] << " ";
      else
        cout << s1[i + 1] << " ";
    }
  }
  for (i = 0; i < s2.size() - 1; i++) {
    if (s2[i] != s2[i + 1]) {
      if (i == 0)
        cout << s2[i] << endl;
      else
        cout << s2[i + 1] << endl;
    }
  }
}
