Every number is interesting in its own way, but once we fix some criteria, we can say that certain numbers are more interesting than others. If a number $X$ satisfies more "properties" than a number $Y$, we say that $X$ is more "interesting" than $Y$.
Given a set of numbers, we must find the most interesting number in it.
First, the properties that can be judged from a number by itself are:
Note that $1$ is not prime, and that the only multiple of $0$ is $0$ (so if any digit is $0$, the digit product is $0$ and the number cannot be a digit-product multiple).
Next, some properties depend on the given set. Below, "some number" always means a number that belongs to the set and is not the number being judged.
Note that "some number" is never the number itself. For example, $1$ is the fourth power of $1$, but because that is the number itself, it does not count toward the set-fourth-power property.
Among these $13$ properties, the numbers that satisfy the greatest count are called the "most interesting numbers". Print every most interesting number in the set; if there are several, print all of them in ascending order.
The first line contains the number of test cases $T$ ($1 \le T \le 100$).
Each test case is given as follows:
For each test case, first print DATA SET #k, where $k$ is the test case number (starting from $1$).
Then, on the following lines, print the most interesting numbers of that set in ascending order, one per line.