#T481. 军事机密
军事机密
Description
The intercepted information by the military consists of n (n ≤ 30,000) numbers. As it is highly classified intelligence from an enemy country, the original intent cannot be deciphered immediately. The most straightforward approach is to sort these n numbers in ascending order, assigning each number a sequence number. The primary interest lies in determining what number corresponds to the i-th position. The task now is to write a program to accomplish this.
Input Format
The first line contains n, followed by n intercepted numbers. The next line contains a number k, followed by k lines indicating the sequence numbers of the numbers to be output.
Output Format
k lines, each containing the number corresponding to the given sequence number.
CodesOnline
(注:由于"CodesOnline"是一个专有名词或品牌名称,通常在这种情况下保持原文不变是最佳实践,以确保名称的一致性和识别性。因此此处采用直译方式,未做改动。)