The laws of the universe can be represented by an array of non-negative integers. The i-th of these integers is .
The universe is good if there is a non-negative integer such that the following equation is satisfied: , where xor denotes the bitwise exclusive or.
What is the largest value of for which the universe is good?
输入格式
The first line of the input gives the number of test cases, . test cases follow. Each test case begins with a line containing the two integers and , the number of integers in and the limit on the equation, respectively.
The second line contains integers, the i-th of which is , the i-th integer in the array.
输出格式
For each test case, output one line containing Case #x: y, where x is the test case number (starting from 1) and y is the largest value of k for which the universe is good, or if there is no such .