A line holds a list of words separated by spaces. Print the words in reverse order.
Each line contains L letters and W words. A line consists only of letters and space characters. Exactly one space separates each pair of consecutive words.
The first line contains the number of test cases N.
Each of the next N lines contains one test case: a list of words separated by spaces. A line has no space at its start or end.
Limits
For each test case, print one line. Print Case #x: followed by the words in reverse order, separated by single spaces. Here x is the test case number, starting at 1.