#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-9;
int n, m, a[100], b[100], p[100];
double dis[100][10000];
inline int read() {
  int x = 0, f = 1;
  char c = getchar();
  while (c < '0' || c > '9') {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9')
    x = (x << 3) + (x << 1) + (c ^ 48), c = getchar();
  return x * f;
}
inline bool make(const double &k) {
  for (register int i = n - 1; ~i; i--) {
    for (register int j = m + 1; j < 5001; j++) {
      dis[i + 1][j] = k;
    }
    for (register int j = 0; j <= m; j++) {
      dis[i][j] = min((dis[i + 1][j + a[i]] + a[i]) * p[i] / 100 +
                          (dis[i + 1][j + b[i]] + b[i]) * (100 - p[i]) / 100,
                      k);
    }
  }
  return dis[0][0] < k;
}
int main() {
  cin >> n >> m;
  for (register int i = 0; i < n; i++) {
    a[i] = read();
    b[i] = read();
    p[i] = read();
  }
  double l = 0, r = 1e9;
  while (r - l > eps) {
    const double mid = (l + r) / 2;
    int x = make(mid);
    if (x) {
      r = mid;
    } else {
      l = mid;
    }
  }
  printf("%.10f\n", r);
  return 0;
}
