Mr. Benum is taking the attendance of his computer science class. In his class, there are students. The office will want to know who is present and who is not. Help Mr. Benum create a program to tell the office if someone showed up to class.
The first line contains , representing the number of students in the class. The next lines contains either or representing whether or not somebody showed up to class, in the order on which they appear on the attendance. The next line contains , representing the number of queries the office wants to make. The next lines contain the student to query as the number in which they appear on the attendance, starting at 1.
For each query, output on a new line
here if that student is present or
not here if they are not.
3 yes yes no 4 1 1 3 2
here here not here here