#K41387. Book Filter
Book Filter
Book Filter
You are given a list of books. Each book is described by its title, number of pages, and publication year. Your task is to print the titles of those books that have more than pages and were published after . The books should be printed in the same order as they appear in the input.
inputFormat
The first line contains an integer , the number of books. Each of the next lines contains a book description in the format: title, pages, year. The title is a string (it may contain spaces), and pages and year are integers.
outputFormat
Print the titles of the books meeting the criteria. Each title must be printed on a separate line. If no book meets the criteria, print nothing.## sample
4
Book A, 95, 1995
Book B, 150, 2005
Book C, 105, 2020
Book D, 200, 1999
Book B
Book C
</p>