    #include<iostream>
    #include<cstdio>
    #include<cstring>
    using namespace std;
    double c[101][101],p[101][51],notp[101][51];
    double t[101],v[101],ans[101];
    int main()
    {
        int n,m,i,j,k,ii;
        double l,sum;
        scanf("%d%d%lf",&n,&m,&l);
        c[0][0]=1;
        for(i=1;i<=100;++i)
        {
            c[i][0]=1;
            for(j=1;j<=i;++j)
                c[i][j]=c[i-1][j-1]+c[i-1][j];
        }
        //cout <<c[100][50]<<endl;
        for(i=0;i<n;++i)
        {
            scanf("%lf%lf%lf",&p[i][1],&t[i],&v[i]);
            p[i][1]/=100;
            notp[i][0]=p[i][0]=1;
            notp[i][1]=1-p[i][1];
            for(j=2;j<=m;++j)
                p[i][j]=p[i][j-1]*p[i][1],notp[i][j]=notp[i][j-1]*notp[i][1];
        }
        double sp,ap,at,tim;
        for(ii=0;ii<n;++ii)
        {
            ans[ii]=0;
            for(i=0;i<=m;++i)
            {
                sp=c[m][i]*p[ii][i]*notp[ii][m-i];
                tim=i*t[ii]+l/v[ii];
                //cout <<ii<<" "<<i<<" "<<sp<<" "<<tim<<endl;
                for(j=0;j<n;++j)
                {
                    if(j==ii)continue;
                    sum=0;
                    for(k=0;k<=m;++k)
                    {
                        ap=c[m][k]*p[j][k]*notp[j][m-k];
                        at=k*t[j]+l/v[j];
                        if(at>tim)
                        {
                            sum+=ap;
                        }
                    }
                    sp*=sum;
                }
                ans[ii]+=sp;
            }
        }
        //cout<<c[50][20]<<" "<<p[2][20]<<" "<<p[2][30]<<" "<<c[50][20]*p[2][20]*p[2][30]<<endl;
        for(i=0;i<n;++i)
        printf("%.5f\n",ans[i]);
        return 0;
    }