#include <bits/stdc++.h>
using namespace std;
double dp[55][5001], p[55];
int n, m, a[55], b[55];
inline int read() {
  int s = 0, w = 1;
  char c = getchar();
  for (; !isdigit(c); c = getchar())
    if (c == '-') w = -1;
  for (; isdigit(c); c = getchar()) s = (s << 1) + (s << 3) + (c ^ 48);
  return s * w;
}
inline bool check(double k) {
  for (register int i = n; i; --i) {
    for (register int j = m + 1; j < 5001; ++j) dp[i + 1][j] = k;
    for (register int j = 0; j <= m; j++)
      dp[i][j] = std::min((dp[i + 1][j + a[i]] + a[i]) * p[i] +
                              (dp[i + 1][j + b[i]] + b[i]) * (1 - p[i]),
                          k);
  }
  return dp[1][0] < k;
}
int main() {
  n = read(), m = read();
  for (register int i = 1; i <= n; ++i)
    a[i] = read(), b[i] = read(), p[i] = read(), p[i] /= 100.0;
  double l = 0, r = 1e9;
  while (r - l > 1e-9) {
    double mid = (l + r) / 2;
    if (check(mid))
      r = mid;
    else
      l = mid;
  }
  printf("%.10f\n", r);
  return 0;
}
