diamond

Sometimes, even more bored coders like to do really really boring things like outputting diamonds of asterisks. Beautiful, but lame. Hubert is one such lame lame coder.

Input

A number 0 < n ≤ 30 representing the maximum radius of the diamond.

Output

A diamond of asterisks with radius n. Note that the diamond is put into place via spaces in front. There are no spaces after each line.

Sample Input 1

4

Sample Output 1

   *
  ***
 *****
*******
 *****
  ***
   *


Submitting .cpp to 'diamond'


You're not logged in! Click here to login

Time Limit: 1 Seconds
Memory Limit: 256MB
Your best score: 0
Source: Classic Problem

Subtask Score
1 100
2 0