#include <bits/stdc++.h>
using namespace std;
vector<string> matr;
int dp[200][200];
vector<vector<int>> stars;
void check(std::ostream& out, int x, int y) {
  int n = matr.size();
  int m = matr[0].size();
  int M = min(n, m);
  int p = 0;
  for (int i = x - 1; i >= 0; i--) {
    if (matr[i][y] != '*') break;
    p++;
  }
  M = min(M, p);
  p = 0;
  for (int i = x + 1; i < n; i++) {
    if (matr[i][y] != '*') break;
    p++;
  }
  M = min(M, p);
  p = 0;
  for (int i = y - 1; i >= 0; i--) {
    if (matr[x][i] != '*') break;
    p++;
  }
  M = min(M, p);
  p = 0;
  for (int i = y + 1; i < m; i++) {
    if (matr[x][i] != '*') break;
    p++;
  }
  M = min(M, p);
  p = M;
  if (p) {
    stars.push_back({x, y, p});
    for (int i = x; i <= x + p; i++) {
      dp[i][y] = -1;
    }
    for (int i = x; i >= x - p; i--) {
      dp[i][y] = -1;
    }
    for (int i = y; i <= y + p; i++) {
      dp[x][i] = -1;
    }
    for (int i = y; i >= y - p; i--) {
      dp[x][i] = -1;
    }
  }
}
class Solution {
 public:
  void solve(int num, std::istream& in, std::ostream& out) {
    matr.clear();
    stars.clear();
    int n, m;
    in >> n >> m;
    for (int i = 0; i < n; i++) {
      string s;
      in >> s;
      matr.push_back(s);
    }
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < m; j++) {
        if (matr[i][j] == '.') {
          dp[i][j] = 0;
        } else {
          dp[i][j] = 1;
        }
      }
    }
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < m; j++) {
        if (matr[i][j] == '.') {
          continue;
        }
        check(out, i, j);
      }
    }
    for (int i = 0; i < n; i++) {
      for (int j = 0; j < m; j++) {
        if (dp[i][j] == 1) {
          out << -1;
          return;
        }
      }
    }
    out << stars.size() << endl;
    for (auto st : stars) {
      out << st[0] + 1 << " " << st[1] + 1 << " " << st[2] << endl;
    }
  }
};
void solve(std::istream& in, std::ostream& out) {
  out << std::setprecision(12);
  Solution solution;
  solution.solve(0, in, out);
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  istream& in = cin;
  ostream& out = cout;
  solve(in, out);
  return 0;
}
