#include <bits/stdc++.h>
using namespace std;
using namespace std;
int x[100], y[100];
int main() {
  int n, m, c = 0, x1 = 0, y1 = 0;
  char a;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> a;
      if (a == '*') {
        x[i]++;
        y[j]++;
        c++;
      }
      if (c == 3) break;
    }
  }
  for (int i = 0; i < max(n, m); i++) {
    if (x[i] == 1) x1 = i + 1;
    if (y[i] == 1) y1 = i + 1;
  }
  cout << x1 << " " << y1;
  return 0;
}
