#include <bits/stdc++.h>
using namespace std;
const int N = 110;
char a[N][N];
int str[N], sto[N];
int main() {
  int n, m;
  scanf("%d %d", &n, &m);
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      cin >> a[i][j];
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      if (a[i][j] == '*') {
        str[i]++;
        sto[j]++;
      }
    }
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= m; j++) {
      if (str[i] == 1 && sto[j] == 1) {
        printf("%d %d\n", i, j);
        return 0;
      }
    }
  }
  return 0;
}
