Goldbach's Conjecture

No attempts yetTime limit2sMemory limit256 MB

Problem

Find every distinct way to write a given even number as a sum of two primes. A prime is an integer greater than 1 that is divisible only by 1 and by itself. The smallest primes are 2, 3, 5, 7, 11, and so on.

The German mathematician Goldbach (Christian Goldbach, 1690-1764) conjectured that every even number greater than 2 can be written as a sum of two primes. Nobody has proved the conjecture and nobody has found a counterexample. You may assume it holds for every number this problem asks about.

One even number can have several such representations. For example, 26 is 3 + 23, 7 + 19, and 13 + 13.

Input

The first line has an integer nn, the number of test cases. (1n1001 \le n \le 100)

Each of the next nn lines has one even number xx. (4x320004 \le x \le 32000)

Output

For each test case, first print one line in the form x has k representation(s), where xx is the given even number and kk is the number of distinct ways to write xx as a sum of two primes. Print representation(s) exactly like that even when kk is 1.

Then print each representation on its own line in the form a+b, in increasing order of the first addend aa. The first addend must always be less than or equal to the second, so no representation appears twice.

Print a blank line between consecutive test cases.