#include <bits/stdc++.h>
using namespace std;
double dp[52][5002];
double p[52];
int f[52], s[52];
int main() {
  int n, r;
  scanf("%d%d", &n, &r);
  for (int i = 1; i <= n; i++)
    scanf("%d%d%lf", &f[i], &s[i], &p[i]), p[i] /= 100;
  double lo = 0, hi = 1e12, ans;
  for (int i = 0; i < 100; i++) {
    double mid = (lo + hi) / 2;
    memset(dp, 0, sizeof(dp));
    for (int i = n; i >= 1; i--) {
      for (int j = 0; j <= r; j++) {
        if (j + s[i] <= r) {
          dp[i][j] = (f[i] + dp[i + 1][j + f[i]]) * p[i] +
                     (s[i] + dp[i + 1][j + s[i]]) * (1 - p[i]);
        } else if (j + f[i] <= r) {
          dp[i][j] =
              (f[i] + dp[i + 1][j + f[i]]) * p[i] + (s[i] + mid) * (1 - p[i]);
        } else {
          dp[i][j] = (f[i] + mid) * p[i] + (s[i] + mid) * (1 - p[i]);
        }
        dp[i][j] = min(dp[i][j], mid);
      }
    }
    if (dp[1][0] < mid)
      ans = mid, hi = mid;
    else
      lo = mid;
  }
  printf("%.10f\n", ans);
}
