#include <bits/stdc++.h>
#define r(i,n) for(int i=0;i<n;i++)
using namespace std;

int n,m;
double l,p[111],t[111],v[111],ans;
double dp[111][111][111],T[111][111];

int main(){
  cin>>n>>m>>l;
  r(i,n)cin>>p[i]>>t[i]>>v[i],p[i]/=100;
  r(i,n){
    dp[i][0][0]=1;
    r(j,m+1){
      if(j!=m)r(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.0-p[i]);
      }
      if(v[i]>0)T[i][j]=l/v[i]+t[i]*j;
      else T[i][j]=1e9;
    }
  }
  r(i,n){
    ans=0;
    if(v[i]==0){
      cout<<0<<endl;
      continue;
    }
    r(j,m+1){
      double p=dp[i][m][j];
      r(k,n)if(k!=i){
        double sum=0;
        r(x,m+1) if(T[i][j]<T[k][x]) sum+=dp[k][m][x];
        p*=sum;
      }
      ans+=p;
    }
    printf("%.9f\n",ans);
  }
}
