Consider the set of non-negative integers A. The minimum non-negative integer that does not occur in this set is considered, for example, in game theory, and is denoted as mex(A). For example, mex(0,1,2,4,5,9)=3.
Ann has decided to generalize the concept of mex. Consider a positive integer k and a set of non-negative integer A. Denote as kex(A,k) a non-negative integer that is k-th in ascending order among all integers that are not in A. For example, kex(0,1,2,4,5,9,2)=6.
You must find kex(A,k_i) for the given set of integers A and q values of k_i.
The first line of input contains two integers n and q (1≤n,q≤105) --- number of elements in A and number of kex numbers, that you have to find.
In second line of input contains n different not negative integers, each of which is at most 109, --- elements of A.
In third line of input contains q integers k_i (1≤k_i≤109).
Print values: kex(A,k_1),kex(A,k_2),…,kex(A,k_q).