A tree with $$$n$$$ nodes fell from the sky along with an initially empty set $$$S$$$. Ecstatic by this unlikely event, you do the following $$$n - 1$$$ times:
Determine the number of distinct sets $$$S$$$ you can make. As the number could be ginormous, output it modulo $$$998\,244\,353$$$.
Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 10^4$$$). The description of the test cases follows.
The first line of each testcase contains an integer $$$n$$$ ($$$2 \le n \le 2 \cdot 10^5$$$) — the size of the tree.
Then $$$n - 1$$$ lines follow, each of which contain two integers $$$u$$$ and $$$v$$$ ($$$1 \le u,v \le n, u \ne v$$$), which describe a pair of vertices connected by an edge. It is guaranteed that the given graph is a tree.
It is guaranteed that the sum of $$$n$$$ over all test cases does not exceed $$$2 \cdot 10^5$$$.
Output the number of distinct sets that can be obtained modulo $$$998\,244\,353$$$.
621 255 15 35 45 277 67 45 71 62 43 51010 910 810 710 69 58 47 36 25 142 43 11 441 42 33 4
1131311
For the first testcase, there is only one possible order: $$$1$$$, making the set $$$\{2\}$$$
For the third testcase, the tree looks as follows:
you can make the sets:
It can be proven that these are the only sets obtainable.
| Name |
|---|


