Ismail hates the number $$$2$$$ due to hard problems related to that number, but his friend Ahmed always gives him numbers containing the number $$$2$$$ to make him angry. But one time, Ismail was very angry. Ahmad thought of a way to calm him down, so he gave him a number $$$N$$$ and asked him to find the largest number $$$X$$$ that satisfies the following conditions:
For example, $$$9$$$ is invalid $$$X$$$ because if we divide it by $$$2$$$ it becomes $$$4$$$ and $$$4$$$ is a multiple of $$$2$$$. $$$3$$$ and $$$1$$$ are examples for valid $$$X$$$
The first line contains the number of test cases $$$T$$$ $$$( 1 \le T \le 2 \cdot 10^{5} )$$$. Each test case contains a single line with one integer $$$N$$$ $$$( 2 \le N \le 10^{18} )$$$ — the number that Ahmad gave to Ismail.
For each test case, output single integer $$$X$$$ that satisfies problem conditions.
256
3 3
| Name |
|---|


