#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int n, m;
  cin >> n >> m;
  vector<int> r, c;
  char a[n][m];
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      cin >> a[i][j];
      if (a[i][j] == '*') {
        r.push_back(i);
        c.push_back(j);
      }
    }
  for (int i = 0; i < int(r.size()); i++)
    for (int j = 0; j < int(c.size()); j++)
      if (a[r[i]][c[j]] == '.') cout << r[i] + 1 << " " << c[j] + 1;
}
