Codeforces Round 259 (Div. 2)
A
Little Pony and Crystal Mine
Codeforces
800
原题
←B →
翻译中…

Twilight Sparkle once got a crystal from the Crystal Mine. A crystal of size $*n*$ ($*n*$ is odd; $*n* > 1$) is an $*n* × *n*$ matrix with a diamond inscribed into it.

翻译中…

You are given an odd integer $*n*$. You need to draw a crystal of size $*n*$. The diamond cells of the matrix should be represented by character "D". All other cells of the matrix should be represented by character "*". Look at the examples to understand what you need to draw.

翻译中…

Input

翻译中…

The only line contains an integer $*n*$ ($3 ≤ *n* ≤ 101$; $*n*$ is odd).

翻译中…

Output

翻译中…

Output a crystal of size $*n*$.

翻译中…

样例

Input #1
3
Output #1
*D*
DDD
*D*
InputCopy OutputCopy
Input #2
5
Output #2
**D**
*DDD*
DDDDD
*DDD*
**D**
InputCopy OutputCopy
Input #3
7
Output #3
***D***
**DDD**
*DDDDD*
DDDDDDD
*DDDDD*
**DDD**
***D***
InputCopy OutputCopy
题目信息
题号
454A
时间限制
1 s
内存限制
256 MB
标签
模拟

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。