#K41387. Book Filter

    ID: 26854 Type: Default 1000ms 256MiB

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 100100 pages and were published after 20002000. The books should be printed in the same order as they appear in the input.

inputFormat

The first line contains an integer nn, the number of books. Each of the next nn 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>