Input The inputs of this problem are the teams names and the scores per each set: The inputs of this problem are the teams names and the scores per each set: * The first line is the name of the teams * The second line is the score of the first set * The third line is the score of the second set * In case of a tie, the fourth line is the score of the super tie-break
Dash symbol, "-", is used to separate teams.
Output
One single line with the name of the winner and the final score with the format <Winner team> won the match <first team’s score> - <second team’s score>.
Input
Canariones - Chicharreros 6 - 0 6 - 0
Output
Canariones won the match 2 - 0.
Input
Locomotiv - Guayamecos 1 - 6 6 - 8
Output
Guayamecos won the match 0 - 2.
Input
Pio Pio! - GonCen 4 - 6 6 - 3 10 - 9
Output
Pio Pio! won the match 2 - 1.