Everybody knows that over time, a keyboard wears out, and its keys start to stick. Such a keyboard can still be used for a while, but pressing the keys requires greater force.
During manufacturing, each key is assigned the number of keystrokes it can withstand. If you know these values for your keyboard and have a sequence of key presses, you can determine which keys will break during use and which will not.
Determine which keys will break during the given keyboard usage scenario.
The first line contains an integer (1 \leq n \leq 100) — the number of keys on the keyboard.
The second line contains integers: c_1, c_2, , c_n, where c_i (1 \leq c_i \leq 100\,000) is the number of presses the -th key can withstand.
The third line contains an integer (1 \leq k \leq 100\,000) — the total number of keystrokes.
The last line contains integers p_1, p_2, \ldots, p_k (1 \leq p_j \leq n) — the sequence of keystrokes.
Print lines containing information about the condition of the keys.
If the -th key is broken, print yes in the -th line; otherwise, print no.
Example 1