PROGRAMMING:Calculate the integral
There are 12 teams participating in the women's Volleyball World Cup. The competition adopts the single cycle mode and the five game three win system. The teams that win 3-0 or 3-1 accumulate 3 points and the negative teams accumulate 0 points. The teams that win 3-2 accumulate 2 points and the negative teams accumulate 1 point; Input n, and the score of N teams, write a program to calculate the score of each team, and output from high to low.
###Input format:
Enter a line of N first to indicate that there are n (n > = 2) teams
Then enter n lines of data to show the score of each team. Use ':' (English) to separate the name of the team and the score. Use '-' to separate the score. For example, 3-0 means that the team wins, 0-3 means that the team loses. Use comma to separate the score of each game.
###Output format:
According to the ranking of points from high to low, output the team name and points
###Input example:
Here is a set of inputs. For example:
```in
two
Chinese team: 3-0, 3-1, 3-2, 3-1, 3-0
Team USA: 3-1, 3-1, 0-3, 1-3, 2-3
```
###Output example:
The corresponding output is given here. For example:
```out
China: 14
Team USA: 7
```
answer:If there is no answer, please comment
###Input format:
Enter a line of N first to indicate that there are n (n > = 2) teams
Then enter n lines of data to show the score of each team. Use ':' (English) to separate the name of the team and the score. Use '-' to separate the score. For example, 3-0 means that the team wins, 0-3 means that the team loses. Use comma to separate the score of each game.
###Output format:
According to the ranking of points from high to low, output the team name and points
###Input example:
Here is a set of inputs. For example:
```in
two
Chinese team: 3-0, 3-1, 3-2, 3-1, 3-0
Team USA: 3-1, 3-1, 0-3, 1-3, 2-3
```
###Output example:
The corresponding output is given here. For example:
```out
China: 14
Team USA: 7
```
answer:If there is no answer, please comment