2222: 数字查找

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Normal Judger Creator:
Submit:2 Solved:1

Description

X 和 Y 在玩一个非常有意思的游戏,X 在纸上写了

Input

第一行一个数n,表示数字的个数;
第二行到第n + 1行,每行一个不超过2,000,000,000的数

Output

输出m行,每行对应一个答案

Sample Input Copy

3
1 
2
3
2
2
3

Sample Output Copy

0
1

HINT

【数据范围】
30%的数据1 ≤ n ≤ 100, 1 ≤m ≤ 50,k ≤ 2000;
100%的数据 1 ≤ n ≤ 10000, 1 ≤ m ≤ 100, k ≤ 2,000,000,000;

Source/Category