#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int sum = 0, ff = 1;
  char ch = getchar();
  while (!isdigit(ch)) {
    if (ch == '-') ff = -1;
    ch = getchar();
  }
  while (isdigit(ch)) sum = sum * 10 + (ch ^ 48), ch = getchar();
  return sum * ff;
}
const int N = 55;
const int M = 5005;
int n, m, a[N], b[N];
double P[N], f[N][M], ans;
inline bool check(double mid) {
  for (int i = n - 1; i >= 0; i--) {
    for (int j = m + 1; j < M; j++) f[i + 1][j] = mid;
    for (int j = 0; j <= m; j++) {
      double TA = (f[i + 1][j + a[i]] + a[i]) * 1.0 * P[i];
      double TB = (f[i + 1][j + b[i]] + b[i]) * 1.0 * (1.0 - P[i]);
      f[i][j] = min(mid, TA + TB);
    }
  }
  return f[0][0] < mid;
}
int main() {
  n = read();
  m = read();
  for (int i = 0; i < n; i++) {
    int x, y, z;
    x = read();
    y = read();
    z = read();
    a[i] = x, b[i] = y;
    P[i] = z * 0.01;
  }
  double l = 0, r = 1e9;
  while (r - l > 1e-9) {
    double mid = (l + r) / 2;
    if (check(mid)) {
      ans = mid;
      r = mid;
    } else
      l = mid;
  }
  printf("%.10lf\n", ans);
  return 0;
}
