#include <bits/stdc++.h>
using namespace std;
int m, n;
char str[105][105];
int x[105];
int y[105];
int main() {
  while (cin >> n >> m) {
    for (int i = 0; i < n; i++) cin >> str[i];
    int t = 0;
    int ansx, ansy;
    for (int i = 0; i < n; i++)
      for (int j = 0; j < m; j++)
        if (str[i][j] == '*') {
          x[t] = i;
          y[t] = j;
          t++;
        }
    if (x[0] == x[1] && y[0] == y[2]) {
      ansy = y[1];
      ansx = x[2];
    } else if (x[0] == x[2] && y[0] == y[1]) {
      ansy = y[2];
      ansx = x[1];
    } else if (x[1] == x[0] && y[1] == y[2]) {
      ansy = y[0];
      ansx = x[2];
    } else if (x[1] == x[2] && y[1] == y[0]) {
      ansy = y[2];
      ansx = x[0];
    } else if (x[2] == x[0] && y[2] == y[1]) {
      ansy = y[0];
      ansx = x[1];
    } else if (x[2] == x[1] && y[2] == y[0]) {
      ansy = y[1];
      ansx = x[0];
    }
    cout << ansx + 1 << " " << ansy + 1 << endl;
  }
  return 0;
}
