The first line of input contains a single integer n (2 ≤ n ≤ 100000).
The next n - 1 lines contains two space-separated integers each, ui, vi (1 ≤ ui ≠ vi ≤ n), describing an edge of the tree connecting ui and vi.
The last line contains a single integer D (1 ≤ D ≤ n).
It is guaranteed that the input graph is a tree.
Output a single integer, the number of subsets of nodes with diameter D. Since the answer might be large, output it modulo 109 + 7.