#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, i, l[3], k[3], z = 0, j;
  cin >> n >> m;
  char a[n][m];
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        k[z] = i + 1;
        l[z] = j + 1;
        z++;
      }
    }
  }
  if (k[0] == k[1]) {
    cout << k[2] << " ";
  } else if (k[1] == k[2]) {
    cout << k[0] << " ";
  }
  if (k[0] == k[2]) cout << k[1] << " ";
  if (l[0] == l[1]) {
    cout << l[2] << " ";
  }
  if (l[1] == l[2]) {
    cout << l[0] << " ";
  }
  if (l[0] == l[2]) cout << l[1];
}
