Thomas is looking forward to spending Valentine's Day with his girlfriend! His girlfriend of 5 years, Alice, has gifted Thomas a box of chocolates every year in their relationship. Thomas believes that this year is no exception. This year, however, Thomas has adopted a new, low-carb diet. This diet requires that he eats no more than $$$s$$$ grams of sugar every day.
Given $$$n$$$ integers, where each integer represents the grams of sugar in one of the chocolates, what is the maximum number of chocolates that Thomas can consume without going over his carbohydrate/sugar limit?
The first line of input represents $$$n$$$ ($$$1 \leq n \leq 100$$$), the number of chocolates in the gifted box. The next line of input, $$$s$$$ ($$$0 \leq s \leq 10^4$$$), represents Thomas' sugar limit. The last line, containing $$$n$$$ integers, represents the grams of sugar in each chocolate in the box. Each chocolate can have $$$x$$$ ($$$1 \leq x \leq 5,000$$$) grams of sugar .
Print a single number, the maximum number of chocolates that Thomas can consume without going over his sugar limit.