There are at most 100 test cases.
The first line of each test case contains two integers, n and k. The second line of each test case contains n integers: m1,m2…mn. The meaning of n,k, m1,m2…mn are described above. (1<=n<=50,0<=k,m1,m2…mn<=231-1 )
The input is ended by “0 0”
The first line of each test case contains two integers, n and k. The second line of each test case contains n integers: m1,m2…mn. The meaning of n,k, m1,m2…mn are described above. (1<=n<=50,0<=k,m1,m2…mn<=231-1 )
The input is ended by “0 0”