There are $n$ students involved in a peer review about their course projects. Each student has to score the other $(n-1)$ students' projects separately. The score given must be an integer ranging from 0 to 100 (both inclusive), and the final score of a student is the sum of the scores his project receives.

But these students are on bad terms with each other, so they all want to minimize the sum of the final scores of the other students, and maximize his/her own final score when the first condition is satisfied.

If every student uses the best strategy, can you predict their final scores?

There are multiple test cases. The first line of the input contains an integer $T$ (about 100), indicating the number of test cases. For each test case:

The first and only line contains one integer $n$ ($2 \le n \le 100$), indicating the number of students involved in the peer review.

提交代码