#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, i, j, A[201] = {0}, B[201] = {0};
  char ch;
  scanf("%d%d%c", &n, &m, &ch);
  for (i = 1; i <= n; i++) {
    for (j = 1; j <= m; j++) {
      scanf("%c", &ch);
      if (ch == '*') {
        A[i]++;
        B[j]++;
      }
    }
    scanf("%c", &ch);
  }
  for (i = 1; i <= n; i++)
    if (A[i] == 1) printf("%d ", i);
  for (j = 1; j <= m; j++)
    if (B[j] == 1) printf("%d\n", j);
  return 0;
}
