//Bai 6
#include<bits/stdc++.h>
using namespace std;
#define el "\n"
#define ll long long
#define ull unsigned long long
#define se second
#define fi first
#define be begin()
#define en end()
#define Faster cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);
void Run(int n)
{
cin >> n;
for(int i = 1; i < 2 * n; i++)
{
if(i <= n)
{
for(int j = 1; j < 2 * i; j++) cout << "*";
}
else
{
for(int j = 1; j < 2 * (2 * n - i); j++) cout << "*";
}
cout << el;
}
}
int main()
{
Faster;
int n;
Run(n);
return 0;
}
Ly9CYWkgNgoKI2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKI2RlZmluZSBlbCAiXG4iCiNkZWZpbmUgbGwgbG9uZyBsb25nCiNkZWZpbmUgdWxsIHVuc2lnbmVkIGxvbmcgbG9uZwojZGVmaW5lIHNlIHNlY29uZAojZGVmaW5lIGZpIGZpcnN0CiNkZWZpbmUgYmUgYmVnaW4oKQojZGVmaW5lIGVuIGVuZCgpCiNkZWZpbmUgRmFzdGVyIGNpbi50aWUoMCk7IGNvdXQudGllKDApOyBpb3NfYmFzZTo6c3luY193aXRoX3N0ZGlvKDApOwoKdm9pZCBSdW4oaW50IG4pCnsKICAgIGNpbiA+PiBuOwogICAgZm9yKGludCBpID0gMTsgaSA8IDIgKiBuOyBpKyspCiAgICB7CiAgICAgICAgaWYoaSA8PSBuKQogICAgICAgIHsKICAgICAgICAgICAgZm9yKGludCBqID0gMTsgaiA8IDIgKiBpOyBqKyspIGNvdXQgPDwgIioiOwogICAgICAgIH0KICAgICAgICBlbHNlCiAgICAgICAgewogICAgICAgICAgICBmb3IoaW50IGogPSAxOyBqIDwgMiAqICgyICogbiAtIGkpOyBqKyspIGNvdXQgPDwgIioiOwogICAgICAgIH0KICAgICAgICBjb3V0IDw8IGVsOwogICAgfQp9CmludCBtYWluKCkKewogICAgRmFzdGVyOwogICAgaW50IG47CiAgICBSdW4obik7CiAgICByZXR1cm4gMDsKfQoK