Prime Factors#3261

Prime Factors

1 second
64 megabytes
Easy (≈1000)

Given a natural number . Decompose it into prime factors.

Input

The first line of input contains the number (1 \le T \le 10000) of natural numbers to be decomposed into prime factors. Each of the next lines contains a single integer (2 \le N \le 10\,000\,000).

Output

For each number , output in a single line separated by spaces its decomposition into prime factors in the format shown in the examples.

Do not put extra spaces, otherwise you will get a "Wrong Answer". For example, if is , you need to output "2 * 2" (no space after the second two).

Examples

Example 1

Loading
Loading