You are given an integer .
Choose any subset of the integers from to . Find the maximum value obtainable by XORing all chosen integers.
The input is given in the following format:
For each test case, print the maximum obtainable XOR value on one line.
3번째 테스트 케이스에서는 로 최댓값을 만들 수 있다.
Each test case is given in the following format: