# cf 454A Little Pony and Crystal Mine

/*----------------15 ms-----------------------*/
#include<iostream>
#include<vector>
using namespace std;
vector<char> u(105,'D');
vector<char> v(105,'*');
int main()
{
int n ,i ,j;
while(cin >> n)
{

for(i =1;i <=n/2+1;i++)
{
for(j =(n +1)/2 -i;j >0;j--)
cout<<v[j];

for(j=1;j <= 2*i-1;j++)
cout<<u[j];

for(j =(n +1)/2 -i;j >0;j--)
cout<<v[j];

cout<<endl;
}
for(i =n/2;i >0;i--)
{
for(j =(n +1)/2 -i;j >0;j--)
cout<<v[j];

for(j=1;j <= 2*i-1;j++)
cout<<u[j];

for(j =(n +1)/2 -i;j >0;j--)
cout<<v[j];

cout<<endl;
}

}
return 0;
}

#### codeforces 454A Little Pony and Crystal Mine

2017-09-17 16:00:10

#### Codeforces 454A Little Pony and Crystal Mine(水题)

2014-08-02 22:25:02

#### CF 453A . Little Pony and Crystal Mine

2014-08-02 19:12:00

#### A. Little Pony and Crystal Mine

2014-08-04 07:06:57

#### CF 454A(Little Pony and Crystal Mine-画图[水])

2014-08-02 16:25:11

#### 3337 Little Pony and Crystal Mine 题解

2018-04-16 12:34:39

#### Codeforces 454A. Little Pony and Crystal Mine

2014-08-02 12:14:17

#### Codeforces Round #259 (Div. 2) 454A Little Pony and Crystal Mine(模拟)

2015-08-29 13:54:22

#### Codeforces Round #259 (Div. 2) A. Little Pony and Crystal Mine

2014-08-02 03:14:21

#### Codeforces Round #259 (Div. 2) problemsA Little Pony and Crystal Mine

2014-08-02 01:39:46