#include <bits/stdc++.h>
using namespace std;
int x[4], y[4], p = 0;
void input(char a[100][100], int n, int m) {
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        x[p] = i;
        y[p] = j;
        p++;
      }
    }
}
int main() {
  char a[100][100];
  int n, m, f = 0, g = 0, xx, yy;
  cin >> n >> m;
  input(a, n, m);
  for (int i = 0; i < 3; i++) {
    f = 0;
    g = 0;
    for (int j = 0; j < 3; j++) {
      if (x[j] == x[i] && i != j) f++;
      if (y[i] == y[j] && i != j) g++;
    }
    if (f == 0) xx = x[i];
    if (g == 0) yy = y[i];
  }
  cout << xx + 1 << ' ' << yy + 1;
  return 0;
}
