You are playing a card game, where each card has an integer number written on it.
To play the game, you are given some cards — your . Then you arrange the cards in your hand into . A straight is a set of cards with consecutive values; e.g. the three cards , or the single card . You then receive a number of dollars equal to the length of the shortest straight. If you have no cards, you can form no straights, so you get zero dollars.
You will be given a series of test cases, each of which describes the cards you will have in your hand. Find the maximum number of dollars you can receive for each test case.
输入格式
The first line of the input contains the number of test cases, . Each test case consists of one line. Each line contains , the number of cards in your hand, followed by integers giving the numbers on those cards. These numbers are all space-separated.
输出格式
For each test case, output one line containing "Case #: ", where is the case number (starting from 1) and is the maximum number of dollars you can receive.