One of my best friend's name is **Sharif**. As he is a very special person, we call him **Officer**. One day he told us that he wants to name himself **Officer**. But to do this, he is facing some problems. There are lot of files in his desktop where wrote his name so many times and he wants to replace them all. Now he wants your help to write a program that will replace his name **Sharif** by **Officer**. Can you help him? ***Note: He does not replace word "Sharif" concatenated with other English alphabets.*** **So, He replace word of following format: [ not alphabet ]Sharif[ not alphabet ]** Input: ------ Input starts with an integer **T (1<=20)**, denoting the number of test cases. Each case contains a string with length less than **1000**. The characters in the string may be any ascii characters. Consider that his name always starts with capital letter and others are in small letters. Output: ------- For each case of input, print **“Case X: Y”** (without quotes) where **X** is the number of test case (start from 1). And **Y** will be the string of replaced name Sample Input ------------ 3 My name is Sharif. Sharif is a great mathematician. ijija sad foiasd jasSharif jaksjd f. Sample Output ------------- Case 1: My name is Officer. Case 2: Officer is a great mathematician. Case 3: ijija sad foiasd jasSharif jaksjd f.
|Language||Time Limit (seconds)|