A normal binary decomposition can be represented as $$$n=\overline{a_{31}a_{30}\cdots a_0}$$$, where $$$a_i \in \{0,1\}$$$.
Now, there is a strange binary decomposition, still represented as $$$n=\overline{a_{31}a_{30}\cdots a_0}$$$, but it needs to satisfy:
Given a non-negative integer $$$n$$$, find the above binary decomposition of $$$n$$$, or determine that it cannot be decomposed.
The first line contains an integer $$$T$$$ $$$(1 \leq T \leq 10^4)$$$, representing the number of test cases.
For each test case, there is one line containing a non-negative integer $$$n$$$ $$$(0 \leq n \lt 2^{30})$$$, representing the number to be decomposed.
For each test case, output a string $$$\texttt{YES}$$$ if $$$n$$$ can be decomposed, or $$$\texttt{NO}$$$ if $$$n$$$ cannot be decomposed.
If the first line is $$$\texttt{YES}$$$, then output 32 integers $$$a_0, a_1, \dots, a_{31}$$$, divided into 4 lines with 8 integers on each line.
3035
NO YES 1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 YES -1 1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1