You are given lists of words separated by spaces, one list per line. Print the words of each line in reverse order.
A line holds w English words and L letters in total. Each line contains only letters and spaces, and exactly one space separates two neighboring words.
The first line contains N, the number of cases.
Each of the next N lines is one case and holds words separated by spaces. No line starts or ends with a space.
Print one line per case. For case number x, print Case #x: first, then the words of that line in reverse order, separated by one space.