You are given an array containing integers. You can do the following operation at most times:
Your task is to find the maximum bitwise OR of the array.
Input format
Output format
For each test case, print the maximum possible bitwise OR of the array after performing at most operations in a new line.
Constraints
It is guaranteed that the sum of over test cases does not exceed .
For the first testcase, we can increase the value of -th index by . Thus the becomes {}. The bitwise OR of the array becomes .
For the second testcase, we can increase the value of -th index by . Thus the become {}. The bitwise OR of the array becomes .