### Problem

You are attending the most important game in sports history. The Oceania Coders are playing the Eurasia Jammers in the Centrifugal Bumble-Puppy world finals. Unfortunately, you were sleep deprived from all the anticipation, so you fell asleep during the game!

The scoreboard is currently displaying both scores, perhaps with one or more leading zeroes (because the scoreboard displays a fixed number of digits). While you were asleep, some of the lights on the scoreboard were damaged by strong ball hits, so one or more of the digits in one or both scores are not being displayed.

You think close games are more exciting, and you would like to imagine that the scores are as close as possible. Can you fill in all of the missing digits in a way that minimizes the absolute difference between the scores? If there is more than one way to attain the minimum absolute difference, choose the way that minimizes the Coders' score. If there is more than one way to attain the minimum absolute difference while also minimizing the Coders' score, choose the way that minimizes the Jammers' score.

### Input

The first line of the input gives the number of test cases, T. T cases follow. Each case consists of one line with two non-empty strings C and J of the same length, composed only of decimal digits and question marks, representing the score as you see it for the Coders and the Jammers, respectively. There will be at least one question mark in each test case.

### Output

For each test case, output one line containing `Case #x: c j`, where `x` is the test case number (starting from 1), `c` is C with the question marks replaced by digits, and `j` is J with the question marks replaced by digits, such that the absolute difference between the integers represented by `c` and `j` is minimized. If there are multiple solutions with the same absolute difference, use the one in which `c` is minimized; if there are multiple solutions with the same absolute difference and the same value of `c`, use the one in which `j` is minimized.

### Limits

1 ≤ T ≤ 200.
C and J have the same length.

#### Small dataset

1 ≤ the length of C and J ≤ 3.

#### Large dataset

1 ≤ the length of C and J ≤ 18.

### Sample

 Input Output ```4 1? 2? ?2? ??3 ? ? ?5 ?0 ``` ```Case #1: 19 20 Case #2: 023 023 Case #3: 0 0 Case #4: 05 00 ```

In sample case #4, note that the answer cannot be `15 10`; that minimizes the absolute difference, but does not minimize the Coders' score. Nor can the answer be `05 10`; that minimizes the absolute difference and the Coders' score, but does not minimize the Jammers' score.

Points Correct Attempted
10pt 2847 6107
23pt 938 1528
{"ft_lang_label":"__label__en","ft_lang_prob":0.92460185,"math_prob":0.8360176,"size":2542,"snap":"2021-43-2021-49","text_gpt3_token_len":626,"char_repetition_ratio":0.14342001,"word_repetition_ratio":0.11889596,"special_character_ratio":0.2505901,"punctuation_ratio":0.11685824,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9571189,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-25T18:02:14Z\",\"WARC-Record-ID\":\"<urn:uuid:d6947319-980c-41c2-a05f-2b489cf05b04>\",\"Content-Length\":\"15665\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8c32fcdf-1d3c-44d0-8036-a1787b2281b6>\",\"WARC-Concurrent-To\":\"<urn:uuid:777f7d2f-064c-40bf-a25d-debb5236b7d3>\",\"WARC-IP-Address\":\"174.138.120.46\",\"WARC-Target-URI\":\"https://code.manchik.co.uk/problem/11254486/1\",\"WARC-Payload-Digest\":\"sha1:65SLZBGC3AQ4VRT3ZL5ZF3VZGF6PRJKH\",\"WARC-Block-Digest\":\"sha1:TFOGT27VQWVN6IMYFEVIIDSOHS4ODHKP\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323587719.64_warc_CC-MAIN-20211025154225-20211025184225-00536.warc.gz\"}"}