#include <bits/stdc++.h>
using namespace std;
const int N = 1e4;
char a[N][N];
int ans, cnt;
int main() {
  int n, m;
  cin >> 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++) {
      char cur = a[i][j];
      if (cur == '*') continue;
      int pos = 0;
      for (int j1 = 1; j1 <= m; j1++)
        if (a[i][j1] == '*' and j != j1) pos = j1;
      if (pos == 0) continue;
      for (int i1 = 1; i1 <= n; i1++)
        if (a[i1][j] == '*' and i != i1) return cout << i << ' ' << j, 0;
    }
  }
}
