11691169 SUSTech Online Judge
Problem 1169 --3-D Print

1169: 3-D Print

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 755  Solved: 238
[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

Source

[Submit][Status]