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