Penalty
In a football match, the regular and extra time ended in a draw, leading to a penalty shootout. During this shootout, each team takes 5 penalty kicks, with different players taking each kick. The teams alternate their turns: the first kick is taken by a player from the first team, the second by a player from the second team, the third by the first team again, and so forth. The team that scores more goals from their kicks wins. However, if at any point it becomes clear that one team will win regardless of the remaining kicks, the series ends immediately, and that team is declared the winner. For simplicity, if all 10 kicks are taken without determining a winner, the match is considered a draw.
Write a program to determine the score of the series and identify after which kick the series concludes.
Input
The input consists of a single line with 10 numbers, each representing the outcome of a corresponding kick: 1 indicates a goal, and 0 indicates a miss or a save by the goalkeeper. The kicks are listed in the order they are taken. Odd-numbered kicks are taken by the first team, while even-numbered kicks are taken by the second team.
Output
On the first line, output the number of the kick after which the series ends. On the second line, display the score of the series in the format of goals scored by the first team and the second team, separated by a ":" (colon).