#include <bits/stdc++.h>
using namespace std;
char s[101][101];
int x[4];
int y[4];
int main() {
  int n, m;
  scanf("%d", &n);
  ;
  scanf("%d", &m);
  ;
  for (int i = 0; i < n; i++) scanf("%s", &s[i]);
  ;
  int run = 0;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      if (s[i][j] == '*') {
        x[run] = i;
        y[run] = j;
        run++;
      }
    }
  int a, b;
  if (x[0] == x[1])
    a = x[2];
  else if (x[2] == x[1])
    a = x[0];
  else
    a = x[1];
  if (y[0] == y[1])
    b = y[2];
  else if (y[2] == y[1])
    b = y[0];
  else
    b = y[1];
  cout << a + 1 << " " << b + 1;
  return 0;
}
