#include <bits/stdc++.h>
using namespace std;
int n, m, l;
char x;
struct point {
  int x, y;
};
point a[3];
int main() {
  cin >> n >> m;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      x = getchar();
      while (x != '*' && x != '.') x = getchar();
      if (x == '*') {
        a[l].x = i;
        a[l++].y = j;
      }
    }
  if (a[0].x == a[1].x)
    cout << a[2].x + 1;
  else if (a[1].x == a[2].x)
    cout << a[0].x + 1;
  else
    cout << a[1].x + 1;
  cout << ' ';
  if (a[0].y == a[1].y)
    cout << a[2].y + 1;
  else if (a[1].y == a[2].y)
    cout << a[0].y + 1;
  else
    cout << a[1].y + 1;
  return 0;
}
