#include <bits/stdc++.h>
using namespace std;
int main() {
  long long i, j, n, m;
  cin >> n >> m;
  char a[n + 2][m + 2];
  long long b[n + 2], c[m + 2];
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        b[i] = 1;
        c[j] = 1;
      }
    }
  }
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      if (a[i][j] != '*' && b[i] == 1 && c[j] == 1) {
        cout << i << " " << j;
        break;
      }
    }
  }
  return 0;
}
