# Code challenge .cls-1{fill:var(--color-telefonica);}

## Challenge 1 - Roll the dice!

Let's play a very simple dice game. In the game, two players throw two dice and the score is the sum of the dice throws. The player with the highest score wins the game. If both players get the same score the game is a draw.

### Input

The first line will have an integer N, which is the number of cases for the problem. Each case has the result of the dice roll of the first player represented by two numbers (between 1 and 6) separated by ':'.

### Output

For each case, there should be a line starting with "Case #x: " followed by the minimum score the second player needs to win the game, or '-' when it's impossible to win (there can only be a draw after scoring all 6 dice).

```8
1:3
3:3
6:5
5:6
6:6
1:1
2:1
4:4
```

### Sample Output

```Case #1: 5
Case #2: 7
Case #3: 12
Case #4: 12
Case #5: -
Case #6: 3
Case #7: 4
Case #8: 9
```

You can test your program against both the input provided in the test phase and the input provided in the submit phase. A nice output will tell you if your program got the right solution or not. You can try as many times as you want. Be careful with extra whitespace. The output should be exactly as described.

### Test your program against the input provided in the submit phase

#### Program output

During the submit phase, in some problems, we might give your program harder inputs. As with the test token, a nice output will tell you if your program got the right solution or not. You can try as many times as you need.

In the actual contest you have to solve the test phase before you can submit your code. You must provide the source code used to solve the challenge and you can only make one submission. After your solution is submitted, you won't be able to modify it to fix issues or make it faster.

If you have any doubts, please see the info section.