Benji loves his money very much; however, he is also obsessed with wasting money when he sees discounts. What a tragedy!
Benji wants you to help him determine if an item is worth it to purchase.
He found items in a store, with the -th item having an original price of and a discount of in percent off. He will also tell you , his threshold.
The first line of the input will contain two integers representing the number of items, and , his threshold.
The next lines will contain two integers and where .
Output an integer , the number of items Benji can purchase whose price is less than or equal to his threshold.
5 7 100 90 100 93 100 95 10 10 10 40
Benji can buy the second, third, and fifth item. After discount, the first item cost , the second item cost , the third item cost , the fourth item cost , and the fifth item cost .