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