#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  int vis[n + 1][m + 1];
  memset(vis, 0, sizeof(vis));
  char a[n + 1][m + 1];
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      cin >> a[i][j];
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      if (a[i][j] == '*')
        continue;
      else {
        int cnt = 0;
        for (int k = 0; k < n; k++) {
          if (a[k][j] == '*') {
            cnt++;
            break;
          }
        }
        for (int k = 0; k < m; k++) {
          if (a[i][k] == '*') {
            cnt++;
            break;
          }
        }
        if (cnt == 2) {
          cout << i + 1 << ' ' << j + 1 << "\n";
        }
      }
    }
  }
  return 0;
}
