There are no more than 15 test cases.
Each test case begins with two positive integers n and p
in a line, indicate the number of positive integers and the number of queries.
$2 \leq n,q \leq 10^5$
Then n non-negative integers $a_1,a_2,\cdots,a_n$ follows in a line, $0 \leq a_i \leq 10^9$ for each i in range[1,n].
After that there are q positive integers $p_1,p_2,\cdots,p_q$in q lines, $1 \leq p_i \leq n$ for each i in range[1,q].