#include <bits/stdc++.h>
using namespace std;
int n, m, p;
char c[105][105];
pair<int, int> v[105];
int main() {
  cin >> n >> m;
  for (int i = 1; i <= n; ++i)
    for (int j = 1; j <= m; ++j) {
      cin >> c[i][j];
      if (c[i][j] == '*') v[++p] = {i, j};
    }
  for (int i = 1; i <= n; ++i)
    for (int j = 1; j <= m; ++j)
      if (c[i][j] == '.') {
        v[4] = {i, j};
        set<int> sx, sy;
        for (int d = 1; d <= 4; ++d) {
          sx.insert(v[d].first);
          sy.insert(v[d].second);
        }
        if (sx.size() == 2 && sy.size() == 2) {
          cout << i << " " << j << "\n";
          return 0;
        }
      }
  return 0;
}
