A list of integers is given. For each of $Q$ queried values, print True if it is in the list, else False.
Input
Line 1: the list. Line 2: $Q$. Next $Q$ lines: a value each.
Output
Print True/False for each query, one per line.
Example 1
Input
3 1 4 1 5 4 1 2 5 9
Output
True False True False
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.