#include <bits/stdc++.h>
using namespace std;
int n, R, fast[55], slow[55], prob[55];
long double pro[55][5005], e[55][5005];
long double f(long double x) {
  memset(e, 0, sizeof(e));
  for (int i = (n); i >= (1); i--)
    for (int j = (0); j <= ((int)(R + 1) - 1); j++) {
      if (j < fast[i])
        e[i][j] = x;
      else if (j < slow[i]) {
        e[i][j] = prob[i] / 100.0 * (fast[i] + e[i + 1][j - fast[i]]) +
                  (100 - prob[i]) / 100.0 * (slow[i] + x);
        e[i][j] = min(e[i][j], x);
      } else {
        e[i][j] = prob[i] / 100.0 * (fast[i] + e[i + 1][j - fast[i]]) +
                  (100 - prob[i]) / 100.0 * (slow[i] + e[i + 1][j - slow[i]]);
        e[i][j] = min(e[i][j], x);
      }
    }
  return e[1][R];
}
int main() {
  ios::sync_with_stdio(false);
  cin >> n >> R;
  for (int i = (1); i <= (n); i++) cin >> fast[i] >> slow[i] >> prob[i];
  long double high = 1000000007, low = 1;
  while (high - low > 1e-10) {
    long double chs = (low + high) / 2;
    if (f(chs) < chs)
      high = chs;
    else
      low = chs;
  }
  cout << setprecision(11) << high;
}
