#include <bits/stdc++.h>
using namespace std;
double dp[51][5001];
bool check(int *f, int *s, double *p, int n, int r, double K) {
  for (int i = n - 1; i >= 0; i--) {
    for (int j = 0; j <= r; j++) {
      if (j + f[i] <= r) {
        dp[i][j] = p[i] * (f[i] + dp[i + 1][j + f[i]]);
        if (j + s[i] <= r)
          dp[i][j] += (1 - p[i]) * (s[i] + dp[i + 1][j + s[i]]);
        else
          dp[i][j] += (1 - p[i]) * (s[i] + K);
      } else {
        dp[i][j] = K;
      }
      dp[i][j] = min(dp[i][j], K);
    }
  }
  if (K <= dp[0][0])
    return true;
  else
    return false;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  int n, r, *f, *s;
  double *p;
  cin >> n >> r;
  for (int j = 0; j <= r; j++) {
    dp[n][j] = 0;
  }
  f = new int[n];
  s = new int[n];
  p = new double[n];
  for (int i = 0; i < n; i++) {
    cin >> f[i] >> s[i] >> p[i];
    p[i] /= 100;
  }
  double left = 0, right = 1e8;
  int count = 0;
  while (abs(left - right) / max(1.0, left) >= 1e-9) {
    count++;
    if (check(f, s, p, n, r, (left + right) / 2.0)) {
      left = (left + right) / 2;
    } else {
      right = (left + right) / 2;
    }
  }
  cout << fixed << setprecision(10) << left << endl;
  return 0;
}
