#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
  long int n, m, r[3], c[3], i, j, k = 0;
  string s[101];
  cin >> n >> m;
  for (i = 1; i <= n; i++)
    for (j = 1; j <= m; j++) {
      cin >> s[i][j];
      if (s[i][j] == '*') {
        r[k] = i;
        c[k] = j;
        k++;
      }
    }
  for (i = 0; i < 3; i++)
    for (j = 0; j < 3, j != i; j++) {
      if (r[i] == r[j]) {
        r[i] = 0;
        r[j] = 0;
      }
      if (c[i] == c[j]) {
        c[i] = 0;
        c[j] = 0;
      }
    }
  for (i = 0; i < 3; i++)
    if (r[i] != 0) cout << r[i] << " ";
  for (i = 0; i < 3; i++)
    if (c[i] != 0) cout << c[i];
  return 0;
}
