9039 - Output Format   

Description

Output the given strings according to the defined format.

Input

The first line of input contains a positive integer t (t <= 20), which indicates the number test cases.  For each case, the first line contains one positive integer n (n <= 100) indicating the number of strings.  In the next n lines, one string is appeared per line.  The length of each string is between 1 and 20.

Output

The output format is as follows.  First, each line has 4 strings.  Second, each string occupies 20 spaces and right aligned.Print a blank line after each case.

Sample Input  Download

Sample Output  Download

Tags




Discuss