Problems
Aroha is a big animal lover, so she spends some free time taking care of many of her loved ones' pets. She likes to offer them treats, but wants to do that in an impartial way.
Aroha decided that it was logical for pets of the same size to get the same amount of treats
and for larger pets to get strictly more treats than smaller ones. For example,
if she has
Help Aroha plan her next pet day. Given the sizes of all pets that will accompany her, compute the minimum number of treats she needs to buy to be able to offer at least one treat to all pets while complying with her impartiality rules.
Input
The first line of the input gives the number of test cases,
Output
For each test case, output one line containing Case #,
where
Example
3
4
10 20 10 25
5
7 7 7 7 7
2
100 1
Case #1: 7
Case #2: 5
Case #3: 3