12038 - Alphabet Triangle   

Description

Given a single capital letter (大寫字母), you need to build an Alphabet Triangle.

The first row only exists ‘A’ in the middle, while the second row exists “ABA” in the middle, and so on. (You need to fill the empty position with space)

The last row should have input single capital letter in the middle.

 

Ex. An 'E' Alphabet Triangle (The first row consists of 4 spaces + 'A' + 4 spaces)

Input

A single capital letter.

Output

An alphabet triangle.

(Please refer to sample output. You can download to see it clearly.)

(Need to printf "\n" at the end)

Sample Input  Download

Sample Output  Download

Tags




Discuss