Book 1#10243

Book 1

1 second
128 megabytes
Very easy

Implement a structure Book.

struct Book
{
  int  book_id;
  char title[50];
  char author[50];
  char subject[50];
};

Input

The first line contains the number of records (n \leq 100). records follow, each field is specified on a separate line. Then follows the number of queries (q \leq 100). Each request contains book\_id of the book.

Output

For each query print the title and the author of the book as shown in the example. If no such book exists, print "Book not found".

Examples

Example 1

Loading
Loading