First line contains 2 integers(
- the size of given tree and the number of queries.
Each of the nextlines contains two integers
(
) indicating an undirected edge between node
and node
. It is guaranteed that the given edges form a tree.
The following line containingintegers describes the queries. Each of query has a integer
(
).
For each query, print a integer - the answer of the query.