For each list of words, output aline with each word reversed without changing the order of the words.
This problem contains multiple test cases!
The firstline of a multiple input is an integer N, then a blank line followed by N inputblocks. Each input block is in the format indicated in the problem description.There is a blank line between input blocks.
Theoutput format consists of N output blocks. There is a blank line between outputblocks.
Input