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