Shape Parsing  - 2 Points
 
ASCII drawing 101.  Given a hollow shape out of the set "SQUARE, "TRIANGLE", "DIAMOND".  And a size ( size == edge of both SQUARE and TRIANGLE,  DIAMOND) draw the shape using ASCII characters. Assume all shapes are distorted by size of text output, and triangle is equallateral.

Square 3
SSS       
S S       
SSS

Triangle 3
  T
 T T
T T T

Diamond 3
  DD
 D  D
D    D
 D  D
  DD
 
Input Format
Each line will contain either diamond, square, or triangle, followed by a number representing it's size (edge length for square, triangle, or diamond).

A -1 will signal the end of each shape

A double -1 will be signal the end of the page.

The input file will be called jin10.txt.

Output Format
The output should be the shape.

Example
Input
Square 4
-1
Triangle 2
-1
-1

Output
SSSS
S  S
S  S
SSSS

 T
T T