#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
using ld = long double;
using vi = vector<int>;
using vll = vector<ll>;
using vd = vector<double>;
int ctoi(char c) { return c - '0'; }
int slen(string s) { return s.length(); }
int vsize(vi a) { return (int)a.size(); }
int in() {
  int x;
  cin >> x;
  return x;
}
char a[105][105];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  vi r;
  map<int, vi> m;
  int N, M;
  cin >> N >> M;
  for (int i = 0; i < N; i++) {
    for (int j = 0; j < M; j++) {
      cin >> a[i + 1][j + 1];
      if (a[i + 1][j + 1] == '*') {
        if (m[i + 1].size() == 0) r.emplace_back(i + 1);
        m[i + 1].emplace_back(j + 1);
      }
    }
  }
  int s1 = m[r[0]].size();
  int s2 = m[r[1]].size();
  if (s1 > s2)
    cout << r[1] << " " << (m[r[1]][0] == m[r[0]][0] ? m[r[0]][1] : m[r[0]][0])
         << endl;
  else
    cout << r[0] << " " << (m[r[0]][0] == m[r[1]][0] ? m[r[1]][1] : m[r[1]][0])
         << endl;
  return 0;
}
