#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  char a[n][m];
  int fx[n], fy[m];
  memset(fx, 0, sizeof fx);
  memset(fy, 0, sizeof fy);
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        fx[i]++;
        fy[j]++;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    if (fx[i] == 1) cout << i + 1 << " ";
  }
  for (int j = 0; j < m; j++) {
    if (fy[j] == 1) cout << j + 1 << endl;
  }
}
