Lili’s teacher ask her to make a program to reverse a given number represent by a string and reverse it.
Her teacher know that Lili doesn’t like to use a recursive function. So her teacher will give Lili zero score if she doesn’t applied a recursive function for this homework. That will read an integer represent length of a string and a string that he need to reverse, Help Lili to get a good score.
Format Input
The first line of the input contains an integer T, the number of test case.
The next T line contains a string s represent a number
Format Output
For each test case, print Case #X: Y. X is the number of test case and Y is the reversed number.
Constraints
1 <= T <= 100
10 <= |S| <= 1000
|S| is the length of string S
Sample Input:
3
12
101010101010
123123123123
Sample Output:
Case #1: 21
Case #2: 010101010101
Case #3: 321321321321