#include <bits/stdc++.h>

using namespace std;

#define int long long
#define all(v) begin(v), end(v)
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define reps(i, s, n) for(int i = (int)(s); i < (int)(n); i++)

const int inf = 1LL << 55;
const int mod = 1e9 + 7;

int N, M, L;
vector<double> P, T, V;

double t[101][51]; // ??°???i???j????????????????????´???????????§?????????

double dp[101][51][51]; // ??°???i????????????j?????§???k??????????¢????

signed main()
{
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  cout << fixed << setprecision(12);

  cin >> N >> M >> L;
  P.resize(N); T.resize(N); V.resize(N);
  rep(i, N) cin >> P[i] >> T[i] >> V[i], P[i] /= 100;

  rep(i, N) rep(j, M+1) {
    if(V[i]) t[i][j] = L/V[i] + j*T[i];
    else t[i][j] = 1e9;
  }

  rep(i, N) dp[i][0][0] = 1;
  rep(i, N) rep(j, M) rep(k, j+1) {
    dp[i][j+1][k+1] += dp[i][j][k] * P[i];
    dp[i][j+1][k] += dp[i][j][k] * (1 - P[i]);
  }

  rep(i, N) {
    double ans = 0;
    rep(j, M+1) {
      double p = dp[i][M][j];
      rep(k, N) if(i != k) {
	double q = 0;
	rep(l, M+1) if(t[i][j] < t[k][l]) {
	  q += dp[k][M][l];
	}
	p *= q;
      }
      ans += p;
    }
    cout << ans << endl;
  }

  return 0;
}