You are given a tree with $$$n$$$ vertices. The diameter of a tree is a simple path of maximum length in the tree. The length of a path is the number of edges it contains. The diameter of the given tree has odd length.
We call an integer $$$k$$$ beautiful if it is possible to choose two diameters in this tree (possibly with the same endpoints; it is allowed to choose the same two diameters) such that their intersection contains exactly $$$k$$$ edges.
Find all beautiful values of $$$k$$$ and output them in increasing order.
The first line contains one integer $$$t$$$ ($$$1 \le t \le 10^4$$$) — the number of test cases.
Each test case is given in the following format:
Additional constraints on the input:
For each test case, print one integer $$$m$$$ — the number of beauitful values of $$$k$$$; then print the values of $$$k$$$ themselves in increasing order.
521 241 22 33 461 21 31 42 52 6101 21 33 51 44 62 77 92 88 1091 21 33 51 44 62 77 87 9
1 11 33 1 2 33 1 3 54 2 3 4 5
Consider the first three examples:
| Name |
|---|


