Numbers with at least three different prime divisors are called lucky numbers. For example, and are the first two lucky numbers. Given a natural number , you need to find the -th lucky number.
The first line shows the number of tests . Each of the following lines contains an integer n~(n \le 2 \cdot 10^6).
Output lines, each containing the corresponding lucky number for each test.
Example 1