Inaho has been invited to Asseylum's party dedicated to celebrating the new year! Being very welcoming, Asseylum bought a lot of food for Inaho. Sadly, Inaho wishes to stay healthy and sets limits on his food intake. Having so much food to choose from, Inaho just couldn't process all this food, and decides to ask you to help him by filtering out only the food that he can eat from the menu.
Inaho limits himself to not exceed a certain amount of calories, fat, and sodium intake per serving. Luckily, Asseylum's menu has all the nutrition information that you need.
Input Specification
The first line of the input contains three integers:
Output Specification
For the
Sample Input
770 130 250
5
10 1210 3721 4399 Philly Cheese Steak
7 20 3433 5632 Portobello Sandwich
9 3241 1009 198 Shrimp Cocktail
8 3542 744 40 Hickory Bourbon Salmon
2 605 1062 128 Shrimp Po' Boy Flatbread
Sample Output
Shrimp Cocktail
Hickory Bourbon Salmon
Comments