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