PROGRAMMING:Poker game 2
###Task description
```
Please complete the following tasks.
```
###Input format:
```
The first line of input is an integer n, indicating that there are n games (N sets of data).
The next n rows are n groups of data, representing n bureaus.
There are 9 Cards in each row. The first three represent the three cards in Wang yaozhang's hand, the middle three represent the cards in Yulong's hand, and the last three represent the three cards in Zhao song's hand.
For example, the first three cards of a game are: 5S 6h 12C, in which the number represents the number of points (2-10 represents the card with 2-10 points, 11, 12, 13 and 14 represent J, Q, K and a), the letter represents the first character of the suit, spade, heart, club and diamond. The above three cards actually represent spade 5, heart 6 and square Q.
All possible cards are arranged as follows from big to small
(1) Leopard: three cards count the same, such as 5S 5h 5C.
(2) Flush straight: three cards of the same suit and color, and the points are just adjacent, such as 5S, 6S, 7S.
(3) Straight: three cards are adjacent, but different colors, such as 10h, 11d, 12C.
(4) Same kind: three cards have the same suit and color, but different points, such as 8h, 5h, 11h.
(5) Pair: only two cards have the same number of points, such as 11h 5C 11d.
(6) General: different colors and points, such as 5D, 6C, 8h.
The rules for comparing the size of three players are as follows:
The bigger the brand is, the bigger the brand is;
If the card type is the same, it represents the maximum points of the card type, and the card with larger points is bigger;
If the card type and the number of points are the same, the decors are compared. The decors are arranged according to spade, heart, club and diamond from big to small.
For example:
(1) Both hands are leopards, and the cards with big points are big;
(2) Both hands are flush or both hands are flush or both hands are flush or both hands are flush or both hands are flush. Compare the card with the largest number of points.
(3) Both hands are pairs. Compare the biggest cards in the two pairs. For example, 10 pairs of spades, 10 pairs of diamonds, 10 pairs of hearts and 10 pairs of clubs, because spades are bigger than hearts and the previous pair is bigger.
```
###Output format:
```
There are n groups of output, and the output format of each group is as follows:
(1) First, a single line, output the serial number of the office, followed by a colon.
(2) The next three lines output three players' names, colons and brackets. In brackets are the name of the player's card type and the largest suit and points representing the card type. The points are 2 to 10 and j, Q, K and a.
(3) The last line of each group outputs "win:" with 1 space, followed by the name of the winning player.
```
###Input example:
```in
eight
8H 8D 8C 12C 12H 12S 14D 13D 12D
5S 7S 6S 14S 13D 12C 2S 3D 5H
11C 12D 10S 2H 3H 4H 14H 13D 14C
1C 5C 6C 5H 5D 6C 7D 9D 8D
10C 5D 10H 9D 8H 9C 13H 12D 10C
5D 6H 12C 14D 13C 10H 13H 12D 10C
5H 5D 6C 8D 9C 9H 14D 13S 2C
5H 5D 6C 5S 9C 5C 8D 9S 4C
```
###Output example:
```out
1:
Wan gyaozhang:Leopard (Heart 8)
Y ulong:Leopard (Spade Q)
Z haosong:Flush straight (Diamond A)
Win: Yulong
2:
Wan gyaozhang:Flush straight (Spade 7)
Y ulong:Straight (Spade A)
Z haosong:General (Heart 5)
Win: Wangyaozhang
3:
Wan gyaozhang:Straight (Diamond Q)
Y ulong:Flush straight (Heart 4)
Z haosong:Pair (Heart A)
Win: Yulong
4:
Wan gyaozhang:Same kind (Club 6)
Y ulong:Pair (Heart 5)
Z haosong:Flush straight (Diamond 9)
Win: Zhaosong
5:
Wan gyaozhang:Pair (Heart 10)
Y ulong:Pair (Club 9)
Z haosong:General (Heart K)
Win: Wangyaozhang
6:
Wan gyaozhang:General (Club Q)
Y ulong:General (Diamond A)
Z haosong:General (Heart K)
Win: Yulong
7:
Wan gyaozhang:Pair (Heart 5)
Y ulong:Pair (Heart 9)
Z haosong:General (Diamond A)
Win: Yulong
8:
Wan gyaozhang:Pair (Heart 5)
Y ulong:Pair (Spade 5)
Z haosong:General (Spade 9)
Win: Yulong
```
answer:If there is no answer, please comment
```
Please complete the following tasks.
```
###Input format:
```
The first line of input is an integer n, indicating that there are n games (N sets of data).
The next n rows are n groups of data, representing n bureaus.
There are 9 Cards in each row. The first three represent the three cards in Wang yaozhang's hand, the middle three represent the cards in Yulong's hand, and the last three represent the three cards in Zhao song's hand.
For example, the first three cards of a game are: 5S 6h 12C, in which the number represents the number of points (2-10 represents the card with 2-10 points, 11, 12, 13 and 14 represent J, Q, K and a), the letter represents the first character of the suit, spade, heart, club and diamond. The above three cards actually represent spade 5, heart 6 and square Q.
All possible cards are arranged as follows from big to small
(1) Leopard: three cards count the same, such as 5S 5h 5C.
(2) Flush straight: three cards of the same suit and color, and the points are just adjacent, such as 5S, 6S, 7S.
(3) Straight: three cards are adjacent, but different colors, such as 10h, 11d, 12C.
(4) Same kind: three cards have the same suit and color, but different points, such as 8h, 5h, 11h.
(5) Pair: only two cards have the same number of points, such as 11h 5C 11d.
(6) General: different colors and points, such as 5D, 6C, 8h.
The rules for comparing the size of three players are as follows:
The bigger the brand is, the bigger the brand is;
If the card type is the same, it represents the maximum points of the card type, and the card with larger points is bigger;
If the card type and the number of points are the same, the decors are compared. The decors are arranged according to spade, heart, club and diamond from big to small.
For example:
(1) Both hands are leopards, and the cards with big points are big;
(2) Both hands are flush or both hands are flush or both hands are flush or both hands are flush or both hands are flush. Compare the card with the largest number of points.
(3) Both hands are pairs. Compare the biggest cards in the two pairs. For example, 10 pairs of spades, 10 pairs of diamonds, 10 pairs of hearts and 10 pairs of clubs, because spades are bigger than hearts and the previous pair is bigger.
```
###Output format:
```
There are n groups of output, and the output format of each group is as follows:
(1) First, a single line, output the serial number of the office, followed by a colon.
(2) The next three lines output three players' names, colons and brackets. In brackets are the name of the player's card type and the largest suit and points representing the card type. The points are 2 to 10 and j, Q, K and a.
(3) The last line of each group outputs "win:" with 1 space, followed by the name of the winning player.
```
###Input example:
```in
eight
8H 8D 8C 12C 12H 12S 14D 13D 12D
5S 7S 6S 14S 13D 12C 2S 3D 5H
11C 12D 10S 2H 3H 4H 14H 13D 14C
1C 5C 6C 5H 5D 6C 7D 9D 8D
10C 5D 10H 9D 8H 9C 13H 12D 10C
5D 6H 12C 14D 13C 10H 13H 12D 10C
5H 5D 6C 8D 9C 9H 14D 13S 2C
5H 5D 6C 5S 9C 5C 8D 9S 4C
```
###Output example:
```out
1:
Wan gyaozhang:Leopard (Heart 8)
Y ulong:Leopard (Spade Q)
Z haosong:Flush straight (Diamond A)
Win: Yulong
2:
Wan gyaozhang:Flush straight (Spade 7)
Y ulong:Straight (Spade A)
Z haosong:General (Heart 5)
Win: Wangyaozhang
3:
Wan gyaozhang:Straight (Diamond Q)
Y ulong:Flush straight (Heart 4)
Z haosong:Pair (Heart A)
Win: Yulong
4:
Wan gyaozhang:Same kind (Club 6)
Y ulong:Pair (Heart 5)
Z haosong:Flush straight (Diamond 9)
Win: Zhaosong
5:
Wan gyaozhang:Pair (Heart 10)
Y ulong:Pair (Club 9)
Z haosong:General (Heart K)
Win: Wangyaozhang
6:
Wan gyaozhang:General (Club Q)
Y ulong:General (Diamond A)
Z haosong:General (Heart K)
Win: Yulong
7:
Wan gyaozhang:Pair (Heart 5)
Y ulong:Pair (Heart 9)
Z haosong:General (Diamond A)
Win: Yulong
8:
Wan gyaozhang:Pair (Heart 5)
Y ulong:Pair (Spade 5)
Z haosong:General (Spade 9)
Win: Yulong
```
answer:If there is no answer, please comment