PROGRAMMING:Seat allocation of ladder race
There are a large number of participants in the ladder race every year. To ensure that all the players in the same school can not be adjacent to each other, the allocation of seats has become a more troublesome thing. For this reason, we formulate the following strategies: suppose n schools participate in a competition, and the I school has m [i] teams with 10 contestants in each team. Make the players of each school form a column, and the players of the I + 1 team are behind the players of the I team. Starting from the first school, the first member of each school takes the seat in turn, and then the second member of each school... And so on. If only one school team has not been allocated seats in the end, their team members need to be arranged to sit next to each other. This problem requires you to write a program to automatically generate the seat number of the team members for each school, starting from 1.
###Input format:
Enter the number of participating universities n (a positive integer no more than 100) in one line; The second line gives n positive integers no more than 10, in which the i-th number corresponds to the number of teams in the i-th University, and the numbers are separated by spaces.
###Output format:
Starting from the first team of the first university, the seat numbers of the team members will be output in turn. Each team occupies one line, and the seat numbers are separated by one space. There should be no extra space at the beginning and end of the line. In addition, in the first line of each university, press "X" to output the number x of the University, starting from 1.
###Input example:
```in
three
3 4 2
```
###Output example:
```out
#1
1 4 7 10 13 16 19 22 25 28
31 34 37 40 43 46 49 52 55 58
61 63 65 67 69 71 73 75 77 79
#2
2 5 8 11 14 17 20 23 26 29
32 35 38 41 44 47 50 53 56 59
62 64 66 68 70 72 74 76 78 80
82 84 86 88 90 92 94 96 98 100
#3
3 6 9 12 15 18 21 24 27 30
33 36 39 42 45 48 51 54 57 60
```
answer:If there is no answer, please comment
###Input format:
Enter the number of participating universities n (a positive integer no more than 100) in one line; The second line gives n positive integers no more than 10, in which the i-th number corresponds to the number of teams in the i-th University, and the numbers are separated by spaces.
###Output format:
Starting from the first team of the first university, the seat numbers of the team members will be output in turn. Each team occupies one line, and the seat numbers are separated by one space. There should be no extra space at the beginning and end of the line. In addition, in the first line of each university, press "X" to output the number x of the University, starting from 1.
###Input example:
```in
three
3 4 2
```
###Output example:
```out
#1
1 4 7 10 13 16 19 22 25 28
31 34 37 40 43 46 49 52 55 58
61 63 65 67 69 71 73 75 77 79
#2
2 5 8 11 14 17 20 23 26 29
32 35 38 41 44 47 50 53 56 59
62 64 66 68 70 72 74 76 78 80
82 84 86 88 90 92 94 96 98 100
#3
3 6 9 12 15 18 21 24 27 30
33 36 39 42 45 48 51 54 57 60
```
answer:If there is no answer, please comment