You are given a labeled tree on $$$n$$$ vertices with labels $$$1\dots n$$$. Vertex $$$1$$$ is the root, and along every edge from a vertex to its parent, labels strictly decrease (equivalently, labels strictly increase along any path from the root to a vertex). Formally, if $$$p(v)$$$ is the parent of $$$v$$$, then $$$\text{label}[v] \gt \text{label}[p(v)]$$$, and $$$\text{label}[1] = 1$$$.
The first line contains a single integer $$$t$$$ $$$(1 \le t \le 2000)$$$ — the number of test cases. Each test case consists of a single integer $$$n$$$ $$$(1 \le n \le 20)$$$.
For each test case, print a single integer — the number of decreasing trees on $$$n$$$ labeled vertices.
4 1 2 3 4
1 1 2 6
| Name |
|---|


