Problem A: 3-D Print

Problem A: 3-D Print

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 3519  Solved: 1071
[Submit][Status][Web Board]

Description

Please write a program to print a 3D cuboid with length a, width b and height c. You can see the details in the sample input and output.


Input

The first line of input is the number of test cases T (1 <= T <= 100)

For each test case, the first line will be three integers a, b and c (1 <= a, b, c <= 30).


Output

For each test case, print the cuboid as the sample output.


Sample Input

2
1 1 1
6 2 4

Sample Output

..+-+
././|
+-+.+
|.|/.
+-+..
....+-+-+-+-+-+-+
.../././././././|
..+-+-+-+-+-+-+.+
./././././././|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/|
+-+-+-+-+-+-+.+.+
|.|.|.|.|.|.|/|/.
+-+-+-+-+-+-+.+..
|.|.|.|.|.|.|/...
+-+-+-+-+-+-+....

HINT

[Submit][Status]