#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 5;
const int mod = 1e9 + 7;
int n, m, svR[105], svC[105];
int main() {
  scanf("%d%d", &n, &m);
  for (int i = 0; i < n; i++)
    for (int j = 0; j < m; j++) {
      char c;
      scanf(" %c", &c);
      if (c == '*') svR[i]++, svC[j]++;
    }
  for (int i = 0; i < n; i++)
    if (svR[i] == 1) printf("%d ", i + 1);
  for (int i = 0; i < m; i++)
    if (svC[i] == 1) printf("%d", i + 1);
  return 0;
}
