#include <iostream>
#include <queue>
#include <string>
#include <cmath>
#include <algorithm>
#include <iomanip>
#include <cstdlib>
#include <map>
#include <memory.h>
#include <vector>
using namespace std;

#define rep(i, n) for(int i = 0; i < n; i++)
const double EPS = 1e-12;
const int INF = 1 << 29;

double cprob[100][100];
double P[110];
double T[110];
double V[110];

double comb(int n, int r){
  double res = 1.0;
  r = min(n - r, r);
  rep(i, r){
    res = res * (n - i) / (i + 1);
  }
  return res;
}

double getp(int M, int j, int id){
  double res = comb(M, j);
  rep(i, j) res *= P[id] / 100.0;
  rep(i, M - j) res *= (1 - P[id] / 100.0);
  return res;
}

int main(){
  int N, M, L;
  double prob, p, p2;
  while(cin >> N >> M >> L && (N || M || L)){
    rep(i, N){
      cin >> P[i] >> T[i] >> V[i];
    }
    rep(i, N)rep(j, M + 1) cprob[i][j] = getp(M, j, i);
    rep(i, N){
      prob = 0.0;
      rep(j, M + 1){
	p = getp(M, j, i);
	double need = (double)L / V[i] + j * T[i];
	rep(k, N){
	  double p1 = 0.0;
	  if(i == k) continue;
	  rep(l, M + 1){
	    p2 = cprob[k][l];
	    double ene = (double)L / V[k] + l * T[k];
	    if(ene > need) {
	      p1 += p2;
	    }
	  }
	  p *= p1;
	}
	prob += p;
      }
      cout << fixed << setprecision(12) << prob << endl;
    }
    
  }
  return 0;
}