#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  while (cin >> n >> m) {
    int a[4][2];
    string str[102];
    int b[102], c[102];
    int x = 0, y = 0;
    memset(b, 0, sizeof b);
    memset(c, 0, sizeof c);
    memset(a, 0, sizeof a);
    for (int i = 0; i < n; i++) {
      cin >> str[i];
    }
    int k = 0;
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < m; j++) {
        if (str[i][j] == '*') {
          a[k][0] = i + 1;
          a[k++][1] = j + 1;
        }
      }
    }
    for (int i = 0; i < k; i++) {
      b[a[i][0]]++;
    }
    for (int i = 0; i < k; i++) {
      c[a[i][1]]++;
    }
    for (int i = 1; i < n + 1; i++) {
      if (b[i] == 1) {
        x = i;
      }
    }
    for (int i = 1; i < m + 1; i++) {
      if (c[i] == 1) {
        y = i;
      }
    }
    cout << x << " " << y << endl;
  }
}
