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