Forest Game

아직 제출이 없습니다시간 제한4초메모리 제한512 MB

문제

Consider the following boring game about removing nodes from a forest. Initially, the forest contains only one tree with NN nodes, and your initial score is 00. The game then goes as follows:

  1. If the forest is empty, the game is finished. Otherwise, you choose one node from the current forest uniformly at random.
  2. Your score increases by the size of the tree which your chosen node belongs to.
  3. Remove your chosen node and all edges connected to this node. Then proceed to step 1.

Please calculate the expected value of your final score multiplied by N!N!, modulo 109+710^9+7.

입력

The first line of input contains one integer NN indicating the number of nodes in the initial tree.

Each of the following N1N-1 lines contains two integers xx and yy, indicating that xx-th node and yy-th node are connected by an edge in the given tree. The nodes are numbered from 11 to NN.

출력

Output one number: the expected value of the final score of this boring game multiplied by N!N!, modulo 109+710^9+7.

제한

  • 1N1051 \le N \le 10^5
  • 1x,yN1 \le x, y \le N
  • The given graph is a tree