Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

DIGIRL - Diamonds are a Girl’s Best Friend

Everyone knows that diamonds are a girl's best friend. You are to write a program that prints diamonds of different dimensions. 

 

Input:

The first line of input will contain a single integer n that indicates the number of diamonds that you are to print. Each the following n lines will contain an upper case letter of the alphabet, followed by a space and positive, odd integer d, 3 d19. 

 

Output:

For each line input, you will print a diamond of the letter input. The width and height of the diamond will be equal to d. Print a blank line after each diamond printed. The distance from the left edge of the screen is not important. 

 

Example Input:
3
U 11
I 3
L 7

Example Output:
     U
    U U
   U   U
  U     U
 U       U
U         U
 U       U
  U     U
   U   U
    U U
     U

 I
I I
 I

   L
  L L
 L   L
L     L
 L   L
  L L
   L

Added by:BYU Admin
Date:2015-12-15
Time limit:1s-3s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64 MAWK BC NCSHARP COFFEE DART FORTH GOSU JS-MONKEY JULIA KTLN OCT PROLOG PYPY3 R RACKET SQLITE SWIFT UNLAMBDA
Resource:UIL District 1 2011 #3
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.