#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  char arr[n][m];
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> arr[i][j];
    }
  }
  int row = 0;
  int column = 0;
  for (int i = 0; i < n; i++) {
    int count = 0;
    for (int j = 0; j < m; j++) {
      if (arr[i][j] == '*') count++;
    }
    if (count == 1) {
      row = i;
    }
  }
  for (int j = 0; j < m; j++) {
    int count1 = 0;
    for (int i = 0; i < n; i++) {
      if (arr[i][j] == '*') {
        count1++;
      }
    }
    if (count1 == 1) column = j;
  }
  cout << row + 1 << " " << column + 1;
}
